EnvironmentCredentialsProvider class

Creates an AWSCredentialsProvider for credentials injected via the platform-specific environment.

On the VM, this uses Platform.environment. On the Web, this uses the Dart environment, e.g. --dart-define for Flutter.

To always use the Dart environment, use AWSCredentialsProvider.dartEnvironment instead.

Implemented types

Constructors

EnvironmentCredentialsProvider()
Creates an AWSCredentialsProvider for credentials injected via the platform-specific environment.
const

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 setteroverride

Methods

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

Operators

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