A company has hired an external security auditing firm to inspect their AWS resource configurations. The auditors require read-only access to the AWS account for a limited period of two weeks. Which of the following options represents the AWS-recommended best practice to grant the external auditors access?
- ACreate a permanent IAM user with read-only access and share the long-term username and password with the auditing team.
- Create an IAM role that allows the external auditors to assume it and obtain temporary security credentials.Answer
- CShare the AWS account root user credentials with the auditing firm to simplify access for the duration of the audit.
- DSubmit a ticket to AWS Support requesting that AWS perform the security audit, as identity configuration and resource compliance are the sole responsibility of AWS.
Answer
Create an IAM role that allows the external auditors to assume it and obtain temporary security credentials.
The correct answer is to create an IAM role that the external auditors can assume. This is the AWS-recommended best practice because IAM roles generate temporary security credentials, minimizing the risk of credential exposure and avoiding the need to manage long-term credentials for external parties.
Step-by-Step Solution
Key Concept
Delegating temporary access to third parties using IAM roles