1VM::EC2::Security::CredUesnetriaCloCnatcrhieb(u3t)ed PerVlM:D:oEcCu2m:e:nSteactuirointy::CredentialCache(3)
2
3
4
6 VM::EC2::Security::CredentialCache -- Cache credentials respecting
7 expiration time for IAM roles.
8
10 Retrieves the current EC2 instance's IAM credentials and caches them
11 until they expire.
12
13 use VM::EC2::Security::CredentialCache;
14
15 # return a VM::EC2::Security::Credentials if available undef otherwise.
16 my $credentials = VM::EC2::Security::CredentialCache->get();
17
19 This module provides a cache for an EC2's IAM credentials represented
20 by VM::EC2::Security::Credentials. Rather than retriving the
21 credentials for every possible call that uses them, cache them until
22 they expire and retreive them again if they have expired.
23
24
25
26perl v5.30.0 2019-07-V2M6::EC2::Security::CredentialCache(3)