An enterprise is designing a secure federated identity access strategy for its multi-account environment managed by AWS Organizations. The identity team is integrating an on-premises SAML 2.0 compliant Identity Provider (IdP) with target IAM roles in various member accounts. To meet regulatory compliance, the solutions architect must enforce the following security controls:
1. Federated users accessing roles in production accounts must have successfully completed a multi-factor authentication (MFA) challenge at the IdP.
2. No local IAM users or IAM access keys may be created or utilized within any member accounts in the organization.
Which combination of actions must the solutions architect take to implement these compliance controls? (Select TWO.)
- Configure the trust policy of the IAM roles in the production accounts to trust the SAML provider principal with the sts:AssumeRoleWithSAML action, and add a condition that evaluates the SAML:AuthnContextClassRef attribute to ensure it matches the multi-factor authentication context class from the Identity Provider.Answer
- Create a Service Control Policy (SCP) that denies the iam:CreateUser and iam:CreateAccessKey actions, and attach this SCP to the root of the AWS Organization.Answer
- CConfigure the trust policy of the IAM roles in the production accounts to trust the SAML provider with the sts:AssumeRole action, and attach an IAM policy to the roles that denies access when the global condition key aws:MultiFactorAuthPresent is set to false.
- DCreate a Service Control Policy (SCP) that explicitly grants federated access to the target roles in the production accounts when authentication is successful, relying on the SCP inheritance to grant permissions without local IAM policies in the member accounts.
- EConfigure the trust policy of the IAM roles to trust the SAML provider with the sts:AssumeRoleWithWebIdentity action, and modify the key policy of the default AWS-managed KMS key (aws/s3) in the member accounts to allow the SAML provider principal to decrypt session context.