-
-
23 Aug 2015 14:49:34 UTC
- Distribution: VM-EC2-Security-CredentialCache
- Module version: 0.25
- Source (raw)
- Browse (raw)
- Changes
- Homepage
- How to Contribute
- Repository
- Issues
- Testers (1828 / 33 / 0)
- Kwalitee
Bus factor: 0- 37.21% Coverage
- License: perl_5
- Activity
24 month- Tools
- Download (9.51KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
and 1 contributors-
Rusty Conover
NAME
VM::EC2::Security::CredentialCache -- Cache credentials respecting expiration time for IAM roles.
SYNOPSIS
Retrieves the current EC2 instance's IAM credentials and caches them until they expire.
use VM::EC2::Security::CredentialCache; # return a VM::EC2::Security::Credentials if available undef otherwise. my $credentials = VM::EC2::Security::CredentialCache->get();
DESCRIPTION
This module provides a cache for an EC2's IAM credentials represented by VM::EC2::Security::Credentials. Rather than retriving the credentials for every possible call that uses them, cache them until they expire and retreive them again if they have expired.
Module Install Instructions
To install VM::EC2::Security::CredentialCache, copy and paste the appropriate command in to your terminal.
cpanm VM::EC2::Security::CredentialCache
perl -MCPAN -e shell install VM::EC2::Security::CredentialCache
For more information on module installation, please visit the detailed CPAN module installation guide.