A developer is configuring an application running on AWS Elastic Beanstalk that requires access to a database. The database password must be rotated automatically every 30 days. Which solution should the developer implement to meet these security requirements?
- Store the database password in AWS Secrets Manager and enable the built-in automatic rotation feature.Cevap
- BStore the database password as a SecureString parameter in AWS Systems Manager Parameter Store and configure a lifecycle policy to automate rotation.
- CHardcode the database password directly within the application initialization code and configure a cron job to redeploy the app with a new password.
- DStore the database password in an encrypted Amazon S3 bucket and use a custom script in the application to download and decrypt it.
Cevap
Store the database password in AWS Secrets Manager and enable the built-in automatic rotation feature.
AWS Secrets Manager natively supports automatic rotation of database credentials using built-in templates, satisfying the security requirements with minimal effort.
Adım Adım Çözüm
Anahtar Kavram
AWS Secrets Manager vs Systems Manager Parameter Store for automatic secrets rotation
Tahmini Süre:45s