ProfileCredentialsProvider class

Creates an AWSCredentialsProvider for credentials from an AWS shared credentials file.

Specify profileName to load from a specific profile. If none is specified, the default profile is used.

Implemented types

Constructors

ProfileCredentialsProvider([String profileName = 'default'])
Creates an AWSCredentialsProvider for credentials from an AWS shared credentials file.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
profileName String
The name of the profile to use from the AWS configuration and shared credentials files.
final
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.
override
toString() String
A string representation of this object.
inherited

Operators

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