An enterprise is configuring federated access to their multi-account AWS environment using an external SAML 2.0 Identity Provider (IdP). The identity team wants to allow users to authenticate through the IdP and assume specific IAM roles in multiple target AWS accounts managed under AWS Organizations. The solutions architect needs to configure the trust relationships and identity provider configurations.
Which TWO configurations must the solutions architect implement to establish this trust and allow users to federate directly into the target accounts? (Select TWO.)
- Create a SAML identity provider entity in each target AWS account pointing to the external IdP's metadata document.Cevap
- Configure the trust policy of the IAM roles in the target accounts to allow the sts:AssumeRoleWithSAML action for the target SAML provider ARN.Cevap
- CConfigure the trust policy of the IAM roles in the target accounts with the sts:AssumeRole action and specify the external SAML provider as the principal.
- DAttach a Service Control Policy (SCP) at the root of the AWS Organization that explicitly grants sts:AssumeRoleWithSAML access to the external IdP's entity.
- ECreate a single central SAML identity provider entity in the organization's management account and configure target account roles to trust the management account's provider using sts:AssumeRole.
Cevap
To establish direct SAML federation, the solutions architect must create a SAML identity provider entity in each target AWS account pointing to the external IdP's metadata document, and configure the trust policy of the IAM roles in the target accounts to allow the sts:AssumeRoleWithSAML action for the target SAML provider ARN.
Direct SAML 2.0 federation requires the target AWS accounts to trust the external IdP. To establish this, a SAML identity provider entity must be created in each target AWS account. The target IAM roles must also have trust policies allowing the federated users to assume them via the sts:AssumeRoleWithSAML action using the specific provider ARN.
Adım Adım Çözüm
Anahtar Kavram
Direct SAML 2.0 federation in a multi-account environment requires both a registered SAML identity provider entity in every target AWS account and target IAM role trust policies configured to allow the sts:AssumeRoleWithSAML action referencing the specific provider ARN.