Skip to content

Recommended way to access cross account access to AWS resources Java SDK #2824

Answered by debora-ito
Shlok-Chaurasia asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @Shlok-Chaurasia apologies for the delay in response here.

The recommended way is to use STSAssumeRoleSessionCredentialsProvider.

The default credential provider chain won't work in this case, the STSAssumeRole is not in the chain.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by yasminetalby
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants