Class

AWSOsduSimpleCredentialProvider

AWSOsduSimpleCredentialProvider(username, password)

Simple credenial provider class that provides Cognito username and password from memory

Constructor

# new AWSOsduSimpleCredentialProvider(username, password)

Parameters:
Name Type Description
username string

Cognito username

password string

Cognito password

View Source client/aws/simpleCredentialProvider.js, line 9

Methods

# async GetCredentials() → {Promise.<Object>|string|string}

Serve credentials from memory

View Source client/aws/simpleCredentialProvider.js, line 27

credentials - Promise resolving with Cognito username and password

Promise.<Object>

credentials.username - Cognito username

string

credentials.password - Cognito password

string