DefaultCredentialsProviderChain constructor

const DefaultCredentialsProviderChain()

Uses the default chain to try loading credentials from the following sources, in order:

  • Environment variables (e.g. AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY)
  • The default AWS profile
  • ECS container (TODO)
  • EC2 IMDS service (TODO)

Implementation

const DefaultCredentialsProviderChain();