Class CredentialProviderChain
CredentialProviderChain class.
Functions
aws:CredentialProviderChain (opt) | Constructor, inherits from Credentials. |
Functions
- aws:CredentialProviderChain (opt)
-
Constructor, inherits from Credentials.
The
providers
array defaults to the following list (in order, not all implemented):EnvironmentCredentials; envPrefix = 'AWS'
EnvironmentCredentials; envPrefix = 'AMAZON'
SharedIniFileCredentials
ProcessCredentials
EC2MetadataCredentials (only if
AWS_EC2_METADATA_DISABLED
hasn't been set totrue
)
Parameters:
- opt options table, additional fields to the Credentials class:
- providers array of Credentials objects or functions (functions must return a Credentials object)