Which service is best for securely managing secrets, such as database credentials, without hardcoding them in applications?
Answer
AWS Secrets Manager
Explanation
AWS Secrets Manager is designed to store, retrieve, and rotate secrets securely. It helps avoid hardcoding sensitive values in code or configuration files. CloudFront is a CDN, CloudWatch is for monitoring/logging, and X-Ray is for tracing requests. So Secrets Manager fits the requirement.
Last reviewed: October 2026
Reviewed by FirstInTest Editorial Team
Related questions
You want to distribute your application to users with low latency and better performance globally. Which AWS service is primarily responsible for this?
View question →
Which tool is used to provision infrastructure on AWS using templates and declarative configuration?
View question →
Which AWS service helps you automatically scale Amazon EC2 instances based on demand?
View question →
Which AWS service is primarily used to run code in response to events without managing servers?
View question →
Which design pattern is commonly recommended for building highly available web applications on AWS?
View question →
What is Amazon VPC in AWS?
View question →