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

Support plugin auth and mysql_clear_password for AWS IAM authentication #211

Open
kyleaa opened this issue Dec 5, 2017 · 0 comments
Open

Comments

@kyleaa
Copy link

kyleaa commented Dec 5, 2017

AWS added support for connecting using short-lived IAM credentials instead of long-lived username/passwords. This is implemented using the MySQL Pluggable Authentication Protocol and requires the token be sent in cleartext.

http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.IAMDBAuth.Connecting.AWSCLI.html

https://dev.mysql.com/doc/refman/5.5/en/cleartext-pluggable-authentication.html

I have a working implementation of this, but I am very unfamiliar with the internals of mariaex and the MySQL dev docs were a bit lacking, so it was created through trial and error. I can put it up for PR if that is desired.

master...kyleaa:aurora

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

No branches or pull requests

1 participant