QuestionQ68

VerifiedSecurity and Compliance

A large enterprise is deploying a web application in AWS. The application runs on Amazon EC2 instances behind an Application Load Balancer. The instances operate in an Auto Scaling group spanning multiple Availability Zones. The application stores data in an Amazon RDS for Oracle DB instance and Amazon DynamoDB. Separate environments exist for development, testing, and production.

What is the MOST secure and flexible method for obtaining password credentials during deployment?

Explanation

An EC2 IAM role provides the application with temporary, automatically rotated AWS credentials, avoiding long-term access keys on instances. AWS Secrets Manager is designed to securely retrieve and rotate database credentials at runtime, keeping database passwords out of application artifacts and enabling credential lifecycle management.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!