-
Notifications
You must be signed in to change notification settings - Fork 3k
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
fix(platform): Add aws-secretsmanager-jdbc driver in dependencies #5968
fix(platform): Add aws-secretsmanager-jdbc driver in dependencies #5968
Conversation
f83b097
to
0d3b678
Compare
Issue link #5872 |
37f2f02
to
073250a
Compare
Does adding the jar on the classpath automatically ensure that secrets are resolved from the secret store? |
Yes. Please see documentation at https://github.com/aws/aws-secretsmanager-jdbc |
I tested the following way.
It works very well. It picks DB username and password from secret manager those are automatically updated when credentials in secret manager are rotated. @shirshanka Please let me know if this MR can be reviewed and merged. Please let me know if any more work is needed from my side on this. |
Running CI. I think the PR looks okay. Will go ahead and merge once CI passes. |
@jjoyce0510 Please let me know if it can be merged now |
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.
Since we don't currently have a way to load external jars, accepting this PR.
Thanks @atul-chegg for the thorough testing on your end!
It does increase the surface area of jars that datahub needs to ship with which increases our vulnerability surface area as well, so will trim this back to a "provided jar" dependency after we have that mechanism.
Thank you for accepting my MR.
I really do not know how you are going to implement this. But I did some testing. I started datahub-gms container with
But it did not work because of two reasons
I hope this information helps datahub team when they implement external jars functionality. |
Checklist