Paws::Credential::Explicit
use Paws::Credential::Explicit; my $paws = Paws->new(config => { credentials => Paws::Credential::Explicit->new( access_key => $ak, secret_key => $sk, session_token => $st, ) });
The Explicit provider is used to specify credentials inside your code.
It's bad practice to hard-code credentials inside your code. Please do not hard-code credentials inside your code, and instead use other credential providers, or roll out you own.
A string with an AWS access_key
A string with an AWS secret_key
A string with an AWS session_token (if applies)
To install Paws::SDK::Config, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Paws::SDK::Config
CPAN shell
perl -MCPAN -e shell install Paws::SDK::Config
For more information on module installation, please visit the detailed CPAN module installation guide.