A company needs to grant daily administrative access to a team of solutions architects. The administrators will perform tasks such as launching Amazon EC2 instances and configuring Amazon S3 buckets. Additionally, the company needs to store database connection strings and passwords securely.
Which design choice represents the most secure approach for these requirements?
- AUse the AWS account root user credentials for daily administrative tasks, and store the database credentials in AWS Secrets Manager.
- BCreate individual IAM users with long-term credentials for corporate employees who already authenticate via an external identity provider, and store the database credentials in AWS Secrets Manager.
- Configure individual IAM users or roles with policies granting least privilege for daily administrative tasks, and store the database credentials in AWS Secrets Manager.Answer
- DConfigure individual IAM users or roles with policies granting least privilege for daily administrative tasks, and store the database credentials as plaintext parameters in Systems Manager Parameter Store.
Answer
Configure individual IAM users or roles with policies granting least privilege for daily administrative tasks, and store the database credentials in AWS Secrets Manager.
The correct configuration utilizes individual IAM identities (users or roles) adhering to the principle of least privilege, while leveraging AWS Secrets Manager to securely encrypt, store, and manage database credentials. This aligns with AWS security best practices.
Step-by-Step Solution
Key Concept
AWS IAM Best Practices (least privilege, avoiding root accounts, and securing sensitive data)