VM::EC2::Security::CredentialCache(3pm)

VM::EC2::Security::CredentialCache3pm

Usage

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();

Overview

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 retrieve them again if they have expired.

Releases

5 releases since Debian 9 (Stretch); the text changed 2 times.

  1. 9–10
  2. 11
  3. 12–13

From libvm-ec2-security-credentialcache-perl 0.25-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.