Class AwsSecurityCredentials (1.35.0)
Stay organized with collections
Save and categorize content based on your preferences.
publicclass AwsSecurityCredentialsDefines AWS security credentials. These are either retrieved from the AWS security_credentials endpoint or AWS environment variables.
Inherited Members
Constructors
AwsSecurityCredentials(String accessKeyId, String secretAccessKey, String sessionToken)
publicAwsSecurityCredentials(StringaccessKeyId,StringsecretAccessKey,StringsessionToken)Constructor for AWSSecurityCredentials.
| Parameters | |
|---|---|
| Name | Description |
accessKeyId |
String the AWS access Key Id. |
secretAccessKey |
String the AWS secret access key. |
sessionToken |
String the AWS session token. Optional. |
Methods
getAccessKeyId()
publicStringgetAccessKeyId()Gets the AWS access key id.
| Returns | |
|---|---|
| Type | Description |
String |
the AWS access key id. |
getSecretAccessKey()
publicStringgetSecretAccessKey()Gets the AWS secret access key.
| Returns | |
|---|---|
| Type | Description |
String |
the AWS secret access key. |
getSessionToken()
publicStringgetSessionToken()Gets the AWS session token.
| Returns | |
|---|---|
| Type | Description |
String |
the AWS session token. |