An application running on Amazon EC2 needs to access an Amazon RDS database without hardcoding credentials. Which AWS service should be used to securely store and retrieve the credentials?

Answer

AWS Secrets Manager

Explanation

AWS Secrets Manager is designed to securely store and automatically rotate database credentials. Parameter Store (String) does not provide automatic rotation and is not encrypted by default.

Last reviewed: October 2026

Reviewed by FirstInTest Editorial Team

Report an error
QuestionBack to list