Skip to content

[BEAM-9160] Removed WebIdentityTokenCredentialsProvider explicit json (de)serialization in AWS module#10836

Closed
ecapoccia wants to merge 1 commit intoapache:masterfrom
ecapoccia:master
Closed

[BEAM-9160] Removed WebIdentityTokenCredentialsProvider explicit json (de)serialization in AWS module#10836
ecapoccia wants to merge 1 commit intoapache:masterfrom
ecapoccia:master

Conversation

@ecapoccia
Copy link
Contributor

@ecapoccia ecapoccia commented Feb 12, 2020

As discussed in #10825 (comment) this changeset eliminates the direct enumeration of WebIdentityTokenCredentialsProvider in the supported identity providers for AWS, as it is already supported via the DefaultAWSCredentialsProviderChain in the latest AWS clients.
It is enabled by specifying --awsCredentialsProvider={"@type":"DefaultAWSCredentialsProviderChain"} in the AwsOptions.

See https://github.com/aws/aws-sdk-java/blob/master/aws-java-sdk-core/src/main/java/com/amazonaws/auth/DefaultAWSCredentialsProviderChain.java#L48 here for the relevant line in the AWS client.

…ider in favor of using the one included in DefaultAWSCredentialsProviderChain
@iemejia iemejia changed the title BEAM-9160 [BEAM-9160] Removed WebIdentityTokenCredentialsProvider explicit json (de)serialization in AWS module Feb 12, 2020
Copy link
Member

@iemejia iemejia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM Thanks for the extra fix @ecapoccia

iemejia added a commit that referenced this pull request Feb 12, 2020
…tialsProvider explicit json (de)serialization in AWS module
@iemejia
Copy link
Member

iemejia commented Feb 12, 2020

Merged manually to adjust the commit message

@iemejia iemejia closed this Feb 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants