Interface AwsCredentials
- All Superinterfaces:
Credentials
Represents credentials used to authenticate with Amazon Web Services.
- Since:
- 2.4
-
Method Summary
Modifier and TypeMethodDescription@Nullable StringReturns the access key to use to authenticate with AWS.@Nullable StringReturns the secret key to use to authenticate with AWS.@Nullable StringReturns the secret key to use to authenticate with AWS.voidsetAccessKey(@Nullable String accessKey) Sets the access key to use to authenticate with AWS.voidsetSecretKey(@Nullable String secretKey) Sets the secret key to use to authenticate with AWS.voidsetSessionToken(@Nullable String token) Sets the secret key to use to authenticate with AWS.
-
Method Details
-
getAccessKey
-
setAccessKey
Sets the access key to use to authenticate with AWS.- Since:
- 2.4
-
getSecretKey
-
setSecretKey
Sets the secret key to use to authenticate with AWS.- Since:
- 2.4
-
getSessionToken
@Nullable String getSessionToken()Returns the secret key to use to authenticate with AWS.- Since:
- 3.3
-
setSessionToken
Sets the secret key to use to authenticate with AWS.- Since:
- 3.3
-