5

Hi I think it is possible to rest Amazon rds password, I mean db password. Is it called master password. I mean RDS-PASAWORD. But any way to see current rds password. I searched internet for a long time and can't find a way to do it?

1
  • I typed your question into Google and found this article on the AWS website. Does it help? – Tim Jan 27 '19 at 8:17
6

You can't. For security reasons they set it up so that, if you lose the password, the only way to recover is to either guess what it was or to reset it. If this is done properly there is no way for anybody, even if they work for AWS, to know what password you had. This is normal for such systems.

0

In reality you can. Works in beanstalk environments.

<?php
echo $_SERVER["RDS_PASSWORD"];
die();

Of course you can always just email it to yourself instead of echoing it out on the page.

1
  • This is only valid for special use cases where you're using an RDS instance directly configured from EB. In this case, RDS will automatically set some environment variables in the EB environment. – Xen_mar Feb 12 at 8:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.