The Perl and Raku Conference 2025: Greenville, South Carolina - June 27-29 Learn more

NAME

Paws::Credential::Environment

SYNOPSIS

my $paws = Paws->new(config => {
credentials => Paws::Credential::Environment->new
});

DESCRIPTION

The Environment provider retrieves credentials from environment variables: AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY, or alternately AWS_ACCESS_KEY and AWS_SECRET_KEY. It will also try to retrieve the optional session token from AWS_SESSION_TOKEN