Class AwsSecurityCredentials
java.lang.Object
com.google.auth.oauth2.AwsSecurityCredentials
Defines AWS security credentials. These are either retrieved from the AWS security_credentials
endpoint or AWS environment variables.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAwsSecurityCredentials(String accessKeyId, String secretAccessKey, String sessionToken) Constructor for AWSSecurityCredentials. -
Method Summary
Modifier and TypeMethodDescriptionGets the AWS access key id.Gets the AWS secret access key.Gets the AWS session token.
-
Field Details
-
accessKeyId
-
secretAccessKey
-
sessionToken
-
-
Constructor Details
-
AwsSecurityCredentials
-
-
Method Details
-
getAccessKeyId
-
getSecretAccessKey
Gets the AWS secret access key.- Returns:
- the AWS secret access key.
-
getSessionToken
-