Perl Diver 2.31
Main Environment Variables Perl Default Values Perl Config - Summary Perl Config - Full Installed Modules List Directory uptime Docs

Module Documentation
Details and documentation about a specific module, including version and documentation (if available). Note that while links to perldoc.com and search.cpan.org are provided, the module may be part of a larger distribution. If you reach a File Not Found page on either site, please try the parent module.

VM::EC2::Security::CredentialCache

Name VM::EC2::Security::CredentialCache
Version 0.25
Located at /usr/share/perl5/vendor_perl
File /usr/share/perl5/vendor_perl/VM/EC2/Security/CredentialCache.pm
Is Core No
Search CPAN for this module VM::EC2::Security::CredentialCache
Documentation VM::EC2::Security::CredentialCache
Module Details VM::EC2::Security::CredentialCache

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 the VM::EC2::Security::Credentials manpage. 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.

Perl Diver brought to you by ScriptSolutions.com © 1997- 2025