AWSCredentialsProvider class abstract interface

A utility for retrieving AWS credentials at runtime.

Mixed in types
Implementers

Constructors

AWSCredentialsProvider(AWSCredentials credentials)
Creates a StaticCredentialsProvider with the given credentials.
const
factory
AWSCredentialsProvider.dartEnvironment()
Creates an AWSCredentialsProvider for credentials injected via the Dart environment.
const
factory
AWSCredentialsProvider.defaultChain()
Uses the default chain to try loading credentials from the following sources, in order:
const
factory
AWSCredentialsProvider.environment()
Creates an AWSCredentialsProvider for credentials injected via the platform-specific environment.
const
factory
AWSCredentialsProvider.profile([String profileName])
Creates an AWSCredentialsProvider for credentials from an AWS shared credentials file.
const
factory

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