Class AwsCredentialSource (1.20.0)

public class AwsCredentialSource extends ExternalAccountCredentials.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)

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.

Parameter
NameDescription
credentialSourceMapMap<String,Object>