An organization is setting up federated single sign-on (SSO) to allow on-premises directory users to access the AWS Management Console across multiple member accounts in an AWS Organization. The solution must use a third-party SAML 2.0 Identity Provider (IdP). Which two configuration steps must be performed in each target AWS member account to establish this federation? (Select TWO.)
- Create an IAM SAML identity provider in each target member account using the XML metadata document from the on-premises IdP.Answer
- Create an IAM role in each target member account with a trust policy that defines the SAML provider as the principal and allows the sts:AssumeRoleWithSAML action.Answer
- CCreate an IAM role in each target member account with a trust policy that defines the SAML provider as the principal and allows the sts:AssumeRole action.
- DApply a Service Control Policy (SCP) at the Organizational Unit level that explicitly grants the sts:AssumeRoleWithSAML permission to the federated users.
- ECreate an IAM user in each target member account with a trust policy that grants the sts:AssumeRoleWithSAML permission to the on-premises IdP.
Answer
To establish SAML 2.0 federation, each target member account must have an IAM SAML identity provider created using the IdP's metadata document, and an IAM role with a trust policy allowing the federated principal to assume the role via the sts:AssumeRoleWithSAML action.
Establishing SAML 2.0 federation with AWS requires two primary configurations in each target member account: first, creating an IAM SAML identity provider using the metadata document from the IdP to establish the trust boundary; second, creating an IAM role with a trust policy that targets the SAML provider ARN as the principal and allows the sts:AssumeRoleWithSAML action. This allows the SAML assertion to be exchanged for temporary AWS security credentials.
Step-by-Step Solution
Key Concept
Establishing SAML 2.0 federation trust relationships in multi-account environments.