Reputation: 409
I am using AWS MySQL RDS for my application. Last few days every day my RDS password is reset. Every day, I need to reset master password for my RDS. Is there any solution?
Upvotes: 7
Views: 3166
Reputation: 704
If the credentials related to your RDS database have been saved to Secret Manager, if the rotation configuration is enabled, your RDS password will change according to the given time period.
If you want to stop the password from changing, you need to disable the auto-rotation configuration.
Upvotes: 2
Reputation: 81
In my case that was a Secrets Manager who automatically rotated RDS instance master password.
Completely forgot about that and panicked a bit when notification about password reset that I didn't issue showed up.
Upvotes: 5
Reputation: 270039
Amazon RDS will not automatically reset your password. Either somebody is changing it, or you have an automated process that is changing it.
If it is the Master password that is changing, you should be able to find a ModifyDbInstance
call in your AWS CloudTrail log. It will show the credentials that were used to issue the modify command.
Upvotes: 5