# AwsCredentials

interface AwsCredentials : Credentials

Represents credentials used to authenticate with Amazon Web Services.

## Functions

getAccessKey
Link copied to clipboard
@Nullable
abstract fun getAccessKey(): @Nullable String
Returns the access key to use to authenticate with AWS.
getSecretKey
Link copied to clipboard
@Nullable
abstract fun getSecretKey(): @Nullable String
Returns the secret key to use to authenticate with AWS.
getSessionToken
Link copied to clipboard
@Nullable
abstract fun getSessionToken(): @Nullable String
Returns the secret key to use to authenticate with AWS.
setAccessKey
Link copied to clipboard
abstract fun setAccessKey(@Nullable accessKey: @Nullable String)
Sets the access key to use to authenticate with AWS.
setSecretKey
Link copied to clipboard
abstract fun setSecretKey(@Nullable secretKey: @Nullable String)
Sets the secret key to use to authenticate with AWS.
setSessionToken
Link copied to clipboard
abstract fun setSessionToken(@Nullable token: @Nullable String)
Sets the secret key to use to authenticate with AWS.