To comply with security audits, the database password for an Amazon Aurora MySQL database must be stored securely and rotated automatically on a recurring schedule. Which AWS service should a developer use to manage this password and its automatic rotation?
- AWS Secrets ManagerAnswer
- BAWS Systems Manager Parameter Store
- CAWS Key Management Service (AWS KMS)
- DHardcode the database password inside the application source code stored in AWS CodeCommit
Answer
AWS Secrets Manager
AWS Secrets Manager is the correct choice because it is specifically designed for managing, retrieving, and rotating database credentials, API keys, and other secrets. It has built-in integration with Amazon RDS and Amazon Aurora to rotate database credentials automatically without requiring application redeployment.
Step-by-Step Solution
Key Concept
AWS Secrets Manager provides native support for the automatic rotation of database credentials, whereas AWS Systems Manager Parameter Store does not.
Estimated Time:45s