Soru

Zorluk: OrtaMulti-Account Identity and Access Management Federation

An online gaming platform is designing a federated access solution for its developers to access resources across multiple member accounts in an AWS Organization. The company has decided to use an external SAML 2.0 compliant identity provider (IdP) to authenticate developers and allow them to assume the role named DeveloperAccess in the target accounts. Which of the following configuration steps must the solutions architect perform to establish this SAML 2.0 federation and enable federated access? (Select TWO.)

  1. Create a SAML identity provider entity in each target AWS account using the metadata document retrieved from the external identity provider.Cevap
  2. Configure a trust policy on the target IAM roles in each member account that permits the sts:AssumeRoleWithSAML action and references the SAML provider ARN as the principal.Cevap
  3. C
    Create a Service Control Policy (SCP) at the AWS Organizations root level to grant sts:AssumeRoleWithSAML permission to all member accounts.
  4. D
    Configure the external identity provider to set the SAML Audience attribute to the IAM role ARN and the SAML Subject to the sts:AssumeRole action.
  5. E
    Configure the trust policy of the target IAM roles to specify the AWS Organizations management account root ARN as the trusted Principal.

Cevap

The correct actions are creating a SAML identity provider in each target account using the external IdP metadata and configuring a trust policy on the target role with the sts:AssumeRoleWithSAML action.
Establishing federation requires registering the external SAML identity provider in the target accounts and configuring target roles with a trust policy that allows sts:AssumeRoleWithSAML from that provider. This enables users authenticated by the external IdP to assume the DeveloperAccess role directly in the member accounts.

Adım Adım Çözüm

1
Identify the authentication workflow details.
Determine that developers will authenticate via an external SAML identity provider (IdP).
Understanding the entry point allows setting up the correct identity provider entity.
2
Establish trust with the external IdP.
Register a SAML identity provider entity within each target member account using the IdP's metadata document.
AWS needs the metadata document to trust assertions signed by the external IdP.
3
Configure role trust for the SAML assertions.
Update the trust policy of the target IAM role to permit sts:AssumeRoleWithSAML from the SAML provider.
The trust policy defines which identity provider can assume the role and which API action is authorized.

Anahtar Kavram

Multi-Account SAML 2.0 Federation
Bu soruyu puanla