A company is setting up identity federation to allow corporate directory users to access resources across multiple member accounts in an AWS Organization. The company is using an external SAML 2.0 Identity Provider (IdP) for user authentication. The solutions architect needs to configure the trust relationship between the external IdP and the target AWS member accounts to allow authenticated users to assume specific IAM roles. Which of the following actions must be taken to successfully configure this trust relationship? (Select TWO.)
- Create an IAM SAML identity provider entity in each target AWS member account using the SAML metadata document obtained from the corporate IdP.Cevap
- Configure the trust policy of each IAM role in the member accounts to allow the sts:AssumeRoleWithSAML action, specifying the SAML identity provider ARN as the principal.Cevap
- CConfigure the trust policy of each IAM role in the member accounts to allow the sts:AssumeRole action, specifying the SAML identity provider ARN as the principal.
- DAttach a Service Control Policy (SCP) to the target Organizational Units (OUs) that grants the sts:AssumeRoleWithSAML permission directly to the corporate users.
- EEnable IAM role chaining by configuring the target member account roles to trust the AWS Organizations management account root user principal.
Cevap
Create an IAM SAML identity provider entity in each target AWS member account using the SAML metadata document obtained from the corporate IdP, and configure the trust policy of each IAM role in the member accounts to allow the sts:AssumeRoleWithSAML action, specifying the SAML identity provider ARN as the principal.
To establish federation trust with an external SAML IdP in a multi-account environment, you must create a SAML identity provider entity in each target account using the IdP's metadata. Then, you configure the trust policy of each target IAM role to allow the sts:AssumeRoleWithSAML action, specifying the SAML identity provider ARN as the trusted principal. This enables users authenticated by the external IdP to assume the target roles in the member accounts.
Adım Adım Çözüm
Anahtar Kavram
SAML 2.0 Federation Trust Configuration