mysql2
mysql2 copied to clipboard
Using AWS IAM database authentication
I am using IAM database authentication
To connect with database using IAM role works by creating a token via AWS API which is valid for 15 mins, but rails database.yml gets cached and will not be evaluated again for a new connection(which may fail after 15 min). What would be the best way to get IAM database authentication working?
@rohittak16 Have you found a working solution? I’m trying to add IAM database authentication as well.