-
Notifications
You must be signed in to change notification settings - Fork 111
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
Feature: Provide support for RDS MySQL IAM Authentication #140
Conversation
@dewey Let me know if you'd like any other changes made! 👍 |
job.go
Outdated
return token, expirationTime, nil | ||
} | ||
|
||
// // Function to setup RDS MySQL IAM Auth |
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.
Do we still need this part?
Apologies @dewey - I've removed the commented section. |
All looks good, thanks for your contribution! I'm going to merge it and release a new version. 🙌 |
Thank you. I'll wait for that release to be built as I'm using the built container release in some of my Ansible builds! 👍 |
https://github.com/justwatchcom/sql_exporter/releases/tag/v0.5.6 is out, the image is pushing right now and should be available in ~15 min. |
I've modified this slightly to also support MySQL RDS IAM authentication (much the same as Postgres RDS IAM Authentication) - I've just combined the
mysql://
andrds-mysql://
together and handled it there.I've tested this on MySQL both with and without IAM authentication and appears to work fine!