AWS Secrets Manager


Does AWS secret mangers Rotation configuration changes the password on Database itself or same password which was added first time, just gets encrypted with new key at the end of specified window. Reason if its changes the password on Database any other application using same credentials will fail(I mean any connection established on same credentials outside from AWS on same Database). Please let know.

asked 2 years ago371 views
1 Answer

Secret manager would create a new password & not encrypt existing password with new key. For application to authenticate to DB, you should use the Secret Manager API to dynamically fetch the current credentials from Secret Manager rather than something static in config files or environment variables.

You might find this blog useful.


profile picture
answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions