Skip to content

Support plugin auth and mysql_clear_password for AWS IAM authentication #211

Open

Description

@kyleaa

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions