Rotating a Database Password
An app's RDS password must be rotated automatically every 30 days without redeploying the app. Where should the password live?
Choose one answer
In the app's Git repository, encrypted with the team's KMS key.
In AWS Secrets Manager, with rotation on and the app reading it at runtime.
In an encrypted Lambda environment variable that is updated by a script.
In a private S3 object that the app downloads when it starts.