A financial services organization is setting up federated access for external compliance auditors using an on-premises SAML Identity Provider (IdP). The auditors must be allowed to assume a read-only role named `ComplianceAuditorRole` directly in a target member account ().
Which configuration steps must be performed in the target member account to establish this trust and enable successful federation? (Select TWO.)
- Create a SAML Identity Provider entity in the target member account using the XML metadata document exported from the on-premises Identity Provider.Answer
- Configure the trust policy of the target IAM role with the Principal set to the ARN of the created SAML Identity Provider and the Action set to `sts:AssumeRoleWithSAML`.Answer
- CAttach a Service Control Policy (SCP) to the target member account's Organizational Unit (OU) that defines the SAML Identity Provider as a resource and allows the `sts:AssumeRole` action.
- DUpdate the trust policy of the target IAM role to use the `sts:AssumeRole` action, and add a condition that validates the `SAML:aud` attribute matches the AWS SAML endpoint.
Answer
Creating a SAML Identity Provider entity in the target member account using the XML metadata document, and configuring the target IAM role's trust policy with the SAML provider as the Principal and `sts:AssumeRoleWithSAML` as the Action.
To configure SAML federation for a specific member account, a SAML identity provider must be created in that member account using the IdP's metadata document. Additionally, the trust policy of the target IAM role must set the principal to that SAML provider and allow the `sts:AssumeRoleWithSAML` action.
Step-by-Step Solution
Key Concept
Establishing trust for SAML 2.0 federation inside an AWS member account
Estimated Time:2m 0s