A utility for retrieving AWS credentials at runtime.
Constructors
- AWSCredentialsProvider(AWSCredentials credentials)
-
Creates a StaticCredentialsProvider with the given
credentials
.constfactory - AWSCredentialsProvider.dartEnvironment()
-
Creates an AWSCredentialsProvider for credentials injected via the Dart
environment.
constfactory
- AWSCredentialsProvider.defaultChain()
-
Uses the default chain to try loading credentials from the following
sources, in order:
constfactory
- AWSCredentialsProvider.environment()
-
Creates an AWSCredentialsProvider for credentials injected
via the platform-specific environment.
constfactory
- AWSCredentialsProvider.profile([String profileName])
-
Creates an AWSCredentialsProvider for credentials from an AWS shared
credentials file.
constfactory
Properties
- hashCode → int
-
The hash code for this object.
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 setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
retrieve(
) → FutureOr< AWSCredentials> - Retrieves AWS credentials.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited