Class AwsCredentialSource

All Implemented Interfaces:
Serializable

public class AwsCredentialSource extends ExternalAccountCredentials.CredentialSource
The AWS credential source. Stores data required to retrieve the AWS credential.
See Also:
  • Field Details

    • IMDSV2_SESSION_TOKEN_URL_FIELD_NAME

      static final String IMDSV2_SESSION_TOKEN_URL_FIELD_NAME
      See Also:
    • serialVersionUID

      static final long serialVersionUID
      See Also:
    • regionUrl

      final String regionUrl
    • url

      final String url
    • regionalCredentialVerificationUrl

      final String regionalCredentialVerificationUrl
    • imdsv2SessionTokenUrl

      final String imdsv2SessionTokenUrl
  • Constructor Details

    • AwsCredentialSource

      public AwsCredentialSource(Map<String,Object> credentialSourceMap)
      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.