Kaushikkumar Parmar
Kaushikkumar Parmar

Reputation: 409

AWS RDS everyday reset my RDS password issue

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

Answers (3)

Shehan Jayalath
Shehan Jayalath

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.

Secret Manger - Rotation

Secret Manger - Edit Rotation

Upvotes: 2

Alexander  Shavykin
Alexander Shavykin

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.

enter image description here

Upvotes: 5

John Rotenstein
John Rotenstein

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

Related Questions