vertx-mysql-iam-auth-bug

Prerequisites:

To reproduce (replace RDS endpoint):

hengroen:~/g/a/vertx-mysql-iam-auth-bug$ TOKEN=$(aws rds generate-db-auth-token \
   --hostname iam-auth-test.cluster-XXXXXXX.eu-west-1.rds.amazonaws.com \
   --port 3306 \
   --username dbuser)

hengroen:~/g/a/vertx-mysql-iam-auth-bug$ DB_HOST=iam-auth-test.cluster-XXXXXXX.eu-west-1.rds.amazonaws.com DB_USER=dbuser DB_NAME=information_schema DB_PASS="${TOKEN}" gradle -q run
URI: mysql://dbuser@iam-auth-test.cluster-XXXXXXX.eu-west-1.rds.amazonaws.com/information_schema
============ Try with MySQL connector ============
1
============ Try with Vertx ============
Access denied for user 'dbuser'@'10.160.3.126' (using password: YES)