aws / aws-sdk-cpp

AWS SDK for C++
Apache License 2.0
1.98k stars 1.06k forks source link

Support Web Identity in `STSProfileCredentialsProvider`. #2831

Open teo-tsirpanis opened 9 months ago

teo-tsirpanis commented 9 months ago

Issue #, if available:

Description of changes:

[!NOTE] Depends on #2830.

This PR enhances STSProfileCredentialsProvider to support reading web_identity_token_file values from config files and if provided, perform an AssumeRoleWithWebIdentity operation to acquire credentials.

Let me know what kind of testing I should add for this.

Check all that applies:

Check which platforms you have built SDK on to verify the correctness of this PR.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.