AWSStaticCredentialsProvider class

Simple provider implementation returning credentials instance set programmatically that never changes.

Implemented types

Constructors

AWSStaticCredentialsProvider(String accessKeyId, String secretAccessId, {String? sessionToken})
Construct a new AWSStaticCredentialsProvider instance.

Properties

accessKeyId String
The AWS access key id part of the credentials.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
secretAccessId String
The AWS secret access key part of the credentials.
final
sessionToken String?
The optional security token (valid only for session credentials).
final

Methods

getCredentials() → AWSCredentials
Returns credentials instance or throws an exception.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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