gradle
8.4

# AwsCredentials

interface AwsCredentials : Credentials(source)

Represents credentials used to authenticate with Amazon Web Services.

## Functions

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