A company needs to grant an external auditor temporary access to view the configuration of their AWS resources. The auditor does not have an AWS account but has a corporate identity provider (IdP). Which of the following is the most secure AWS-recommended method to grant this access?
- ACreate a long-term IAM user with read-only permissions and share the access keys with the auditor.
- BShare the AWS account root user credentials with the auditor for the duration of the audit.
- Configure identity federation to allow the auditor to assume an IAM role with read-only permissions using their corporate credentials.Answer
- DSubmit a request to AWS Support to temporarily manage the auditor's access and monitor their activity.
Answer
Configure identity federation to allow the auditor to assume an IAM role with read-only permissions using their corporate credentials.
The correct option is to configure identity federation to allow the auditor to assume an IAM role. This mechanism enables secure single sign-on (SSO) using the auditor's existing corporate credentials and assigns temporary permissions via an IAM role. This removes the security risks associated with managing and storing permanent IAM credentials for external users.
Step-by-Step Solution
Key Concept
Identity Federation and IAM Roles for External Access
Estimated Time:1m 0s