A developer is configuring a database connection for a new application. The database credentials must be rotated automatically every 15 days, and the developer wants to use native integration with Amazon RDS to rotate them without writing custom rotation code. Which AWS service should the developer use to store the credentials?
- AWS Secrets ManagerAnswer
- BAWS Systems Manager Parameter Store using a SecureString parameter type
- CHardcoded database credentials stored directly within the application initialization code
- DAWS Key Management Service (AWS KMS) data keys stored in the application environment variables
Answer
AWS Secrets Manager
AWS Secrets Manager is designed for storing and managing secrets, offering built-in integration with Amazon RDS to automatically rotate database credentials without requiring custom code.
Step-by-Step Solution
Key Concept
AWS Secrets Manager vs Systems Manager Parameter Store features, specifically automatic rotation and database integration.
Estimated Time:45s