DefaultCredentialsProviderChain class final

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)
Inheritance

Constructors

DefaultCredentialsProviderChain()
Uses the default chain to try loading credentials from the following sources, in order:
const

Properties

chain List<AWSCredentialsProvider>
The chain of AWSCredentialsProvider to iterate through.
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
logger AWSLogger
The logger for this class.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
runtimeTypeName String
The string value of runtimeType, saving a runtime lookup and preventing obfuscation during web compilation.
no setteroverride

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
retrieve() Future<AWSCredentials>
Retrieves AWS credentials.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited