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

Feature: Provide support for RDS MySQL IAM Authentication #140

Merged
merged 6 commits into from
Sep 26, 2024

Conversation

ardens-jw
Copy link
Contributor

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:// and rds-mysql:// together and handled it there.

I've tested this on MySQL both with and without IAM authentication and appears to work fine!

@ardens-jw
Copy link
Contributor Author

@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
Copy link
Member

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?

@ardens-jw
Copy link
Contributor Author

Apologies @dewey - I've removed the commented section.

@dewey
Copy link
Member

dewey commented Sep 26, 2024

All looks good, thanks for your contribution! I'm going to merge it and release a new version. 🙌

@dewey dewey merged commit 3f78c6b into justwatchcom:master Sep 26, 2024
1 check passed
@ardens-jw
Copy link
Contributor Author

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! 👍

@dewey
Copy link
Member

dewey commented Sep 26, 2024

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.

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