An application stores an Amazon RDS database password in a configuration file. The company requires automatic password rotation without deploying new application versions. Which solution BEST meets these requirements?
Show the answer
Correct answerA. Store the password in AWS Secrets Manager and configure rotation.
AWhy this is right: Secrets Manager can rotate supported database credentials and supply the current password to the application at runtime.
BWhy not this: Encrypting a configuration file protects its contents but does not rotate the database password.
CWhy not this: Encrypting a deployment package does not rotate credentials or remove their dependence on application deployments.
DWhy not this: A SecureString parameter protects the stored value but does not provide built-in database password rotation.
AWS Secrets Manager supports automatic database credential rotation, and applications can retrieve the current secret at runtime. A Systems Manager SecureString parameter encrypts a value but does not provide built-in database password rotation.