Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add STS SDK as a dependency for profile role assumptions #3

Merged
merged 1 commit into from
May 15, 2020

Conversation

realshadow
Copy link

Hey,

if user attempts a cross account login with assume role (role_arn in credentials file) AWS SDK will throw io.magj.iamjdbcdriver.repackaged.com.amazonaws.SdkClientException: To use assume role profiles the aws-java-sdk-sts module must be on the class path.

So this PR will add AWS STS SDK as a dependency.

I dont think its necessary to add the role_arn and source_profile to connection query paramaters due to this old, still unresolved issue in java SDK.

@magJ magJ merged commit 50318ed into magJ:master May 15, 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