AWSStaticCredentialsProvider class Null safety

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.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
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 non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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