Class AwsCredentialSource (1.29.1-SNAPSHOT)

publicclass AwsCredentialSourceextendsExternalAccountCredentials.CredentialSource

The AWS credential source. Stores data required to retrieve the AWS credential.

Inheritance

java.lang.Object > com.google.auth.oauth2.ExternalAccountCredentials.CredentialSource > AwsCredentialSource

Constructors

AwsCredentialSource(Map<String,Object> credentialSourceMap)

publicAwsCredentialSource(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.

Parameter
Name Description
credentialSourceMap Map<String,Object>

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.