A company is designing a security baseline for its new multi-account AWS environment. The solution must address two requirements:
First, corporate identity directory users need single sign-on access to the AWS Management Console and CLI.
Second, a containerized application running on Amazon ECS needs to securely retrieve database credentials that must be rotated every days.
Which combination of actions should the solutions architect recommend to meet these requirements securely? (Select TWO.)
- Configure AWS IAM Identity Center to federate the company's identity provider and assign permissions using permission setsAnswer
- Store the database credentials in AWS Secrets Manager and configure automatic rotation using an AWS Lambda functionAnswer
- CCreate individual IAM users in the parent AWS account for each corporate user and configure access keys for CLI access
- DStore the database credentials as a plaintext String parameter in AWS Systems Manager Parameter Store to simplify container retrieval
- EUse the AWS account root user credentials to establish the initial database connection and manage regular rotations
Answer
Configure AWS IAM Identity Center to federate the company's identity provider, and store the database credentials in AWS Secrets Manager with automatic rotation using an AWS Lambda function.
Centralizing access control through AWS IAM Identity Center provides federated single sign-on without the overhead and risk of long-term IAM users. For sensitive data like database credentials, AWS Secrets Manager securely stores the secret and automates its rotation using an AWS Lambda function, maintaining compliance with security standards.
Step-by-Step Solution
Key Concept
Centralized identity federation using AWS IAM Identity Center and automated secrets management with AWS Secrets Manager.