mysql2 icon indicating copy to clipboard operation
mysql2 copied to clipboard

Using AWS IAM database authentication

Open rohittak16 opened this issue 3 years ago • 3 comments

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 avatar May 17 '22 12:05 rohittak16

@rohittak16 Have you found a working solution? I’m trying to add IAM database authentication as well.

floor114 avatar May 22 '23 07:05 floor114