How can I recover or reset the RDS database password if I inherited the AWS account?

0
8
Asked By WildCard7#12 On

I recently took over an AWS account and I don't have the password for the RDS database. I've checked the SSM Parameter Store where I usually keep passwords, but I believe the previous owner may have stored it directly in some .yml files that I don't have access to. Can anyone suggest where else I might check for the password or how I can regain access?

2 Answers

Answered By TechNoob10 On

Have a look at the application code that's connecting to the RDS. It has to authenticate somehow, so you might find the credentials either hard-coded or being retrieved from somewhere like SSM or Secrets Manager.

CodeGuru88 -

Yeah, that’s a good way to track it down. Just be careful with any hard-coded passwords!

Answered By DreamChaser99 On

One option is to take a manual snapshot of the database, then provision a new DB instance from that snapshot. This way, you can set a new database owner username and password. While it's not exactly recovering the original password, it’ll help you regain control over your database resources!

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.