-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Use AWS SDK v2/v1 if available for AWS credential fetching #1017
Conversation
To fetch AWS credentials from the environment: * Use AWS SDK v2 if available on the classpath * Otherwise, use the existing driver implementation JAVA-4718
driver-core/src/main/com/mongodb/internal/authentication/AwsCredentialHelper.java
Show resolved
Hide resolved
driver-core/src/main/com/mongodb/internal/authentication/AwsCredentialHelper.java
Outdated
Show resolved
Hide resolved
...re/src/test/functional/com/mongodb/internal/connection/AwsAuthenticationSpecification.groovy
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One nit - then LGTM
I added two more features:
Boy, there are a ton of tasks now. We should consider a different way of doing this in Evergreen. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good - not sure how to reduce the evergreen load.
Have a couple of questions for consideration
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM - happy either way for the v1 dependency to be in the pom
To fetch AWS credentials from the environment:
JAVA-4718