Paws::Credential::ProviderChain
use Paws::Credential::ProviderChain; my $paws = Paws->new(config => { credentials => Paws::Credential::ProviderChain->new( providers => [ 'Paws::Credential::Environment', 'Paws::Credential::InstanceProfile' ], ) });
The ProviderChain is used to call different credential providers, one by one, in order, until one of them returns credentials.
If none return credentials: an exception is raised.
It is the default provider for Paws
Defaults to [ 'Paws::Credential::Environment', 'Paws::Credential::File', 'Paws::Credential::InstanceProfile' ]
[ 'Paws::Credential::Environment', 'Paws::Credential::File', 'Paws::Credential::InstanceProfile' ]
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.