Soru

Zorluk: OrtaMulti-Account Identity and Access Management Federation

A company is configuring single sign-on access for its database administrators to manage resources in a dedicated database member account under AWS Organizations. The database administrators authenticate using a third-party SAML 2.0 Identity Provider (IdP). A Solutions Architect needs to set up the trust relationship in the database member account to allow these users to assume an IAM role named 'DB-Admin-Role'. Which two actions must the Solutions Architect take to configure this federated trust?

  1. Create an IAM SAML identity provider in the database member account by uploading the XML metadata document from the third-party IdP.Cevap
  2. Configure the trust policy of the target IAM role to define the Principal as the ARN of the IAM SAML provider and set the Action to sts:AssumeRoleWithSAML.Cevap
  3. C
    Configure the trust policy of the target IAM role to define the Principal as the external IdP's metadata URL and set the Action to sts:AssumeRole.
  4. D
    Define the Principal in the IAM role's trust policy as the AWS Organizations management account root and delegate user assertion verification using a Service Control Policy (SCP).
  5. E
    Create an IAM SAML identity provider in the AWS Organizations management account and share it with the database member account using AWS Resource Access Manager (RAM).

Cevap

Create an IAM SAML identity provider in the database member account using the XML metadata from the IdP, and configure the target IAM role's trust policy to define the SAML provider's ARN as the Principal with the action set to `sts:AssumeRoleWithSAML`.
To establish SAML federation within a member account, a Solutions Architect must first configure a local IAM SAML provider using the IdP metadata. Then, the trust policy of the destination IAM role must be updated to trust this provider's ARN and authorize the `sts:AssumeRoleWithSAML` action.

Adım Adım Çözüm

1
Create the SAML identity provider in the member account.
An IAM SAML provider resource with a unique ARN is generated in the database member account.
This establishes the cryptographic trust between AWS and the external SAML IdP within the scope of that specific account.
2
Update the trust policy of the target role DB-Admin-Role.
The role's trust policy lists the SAML provider ARN as the Principal and permits sts:AssumeRoleWithSAML.
This allows users authenticated by the SAML IdP to assume the role and obtain temporary security credentials.

Anahtar Kavram

SAML 2.0 Federation Trust Configuration in Multi-Account Environments
Bu soruyu puanla