Package com.google.auth.oauth2
Class AwsCredentialSource
java.lang.Object
com.google.auth.oauth2.ExternalAccountCredentials.CredentialSource
com.google.auth.oauth2.AwsCredentialSource
- All Implemented Interfaces:
Serializable
The AWS credential source. Stores data required to retrieve the AWS credential.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAwsCredentialSource
(Map<String, Object> credentialSourceMap) The source of the AWS credential. -
Method Summary
-
Field Details
-
IMDSV2_SESSION_TOKEN_URL_FIELD_NAME
- See Also:
-
serialVersionUID
static final long serialVersionUID- See Also:
-
regionUrl
-
url
-
regionalCredentialVerificationUrl
-
imdsv2SessionTokenUrl
-
-
Constructor Details
-
AwsCredentialSource
The source of the AWS credential. The credential source map must contain the `regional_cred_verification_url` field.The `regional_cred_verification_url` is the regional GetCallerIdentity action URL, used to determine the account ID and its roles.
The `environment_id` is the environment identifier, in the format “aws${version}”. This indicates whether breaking changes were introduced to the underlying AWS implementation.
The `region_url` identifies the targeted region. Optional.
The `url` locates the metadata server used to retrieve the AWS credentials. Optional.
-