Soru

Zorluk: Çok zorMulti-Account Identity and Access Management Federation

A biotechnology firm manages its workloads across multiple AWS accounts within an organization in AWS Organizations. The firm wants to implement a federated single sign-on (SSO) solution using their on-premises SAML 2.0-compliant Identity Provider (IdP) to allow researchers and administrators to log in to AWS member accounts. The identity solution must dynamically map corporate users to corresponding AWS IAM roles based on their corporate group membership (e.g., ResearchDataAnalyst, ComplianceAuditor).

The solutions architect must design a secure, scalable federation flow while adhering to the principle of least privilege. Additionally, the security team wants to enforce service-level guardrails across the entire organization using Service Control Policies (SCPs).

Which of the following configurations must be implemented to establish this federation and policy framework? (Select THREE.)

  1. Create a SAML Identity Provider entity in each member account that references the corporate IdP's metadata XML, and define IAM roles with a trust policy that allows the sts:AssumeRoleWithSAML action for the SAML provider principal.Cevap
  2. Configure the corporate IdP to release SAML assertions containing the https://aws.amazon.com/SAML/Attributes/Role attribute, which lists comma-separated pairs of the target IAM role ARN and the SAML provider ARN for the corresponding member account.Cevap
  3. Apply Service Control Policies (SCPs) at the Organizational Unit (OU) level to define the maximum permitted permissions for the federated roles, while attaching local IAM policies to the federated roles in each member account to explicitly grant the required AWS service permissions.Cevap
  4. D
    Create IAM roles in each member account with a trust policy that permits the sts:AssumeRole action for the SAML provider principal, and configure the corporate IdP to pass the AWS role session name as a SAML attribute.
  5. E
    Define the permissions for each user group directly within Service Control Policies (SCPs) applied to the target OUs, and configure the federated IAM roles with wildcard (*) administrator permissions, relying on the SCPs to grant the actual access.
  6. F
    Register the corporate IdP as an OIDC Identity Provider in the management account, and use the sts:AssumeRoleWithWebIdentity action in the member account trust policies to enable cross-account federation for SAML users.

Cevap

To configure a multi-account federation and policy framework, you must create a SAML Identity Provider entity in each member account with a trust policy allowing the sts:AssumeRoleWithSAML action; configure the corporate IdP to release assertions mapping the target IAM role and SAML provider ARNs; and apply SCPs at the OU level as guardrails while using local IAM policies to grant permissions.
The correct configurations involve setting up a SAML Identity Provider entity in each target member account with trust policies permitting the sts:AssumeRoleWithSAML action, configuring the corporate IdP to emit the Role attribute containing the role and provider ARN pairs, and using SCPs at the OU level as guardrails while relying on local IAM policies to explicitly grant permissions.

Adım Adım Çözüm

1
Establish SAML trust in member accounts
Each member account has a SAML provider referencing the corporate IdP metadata and IAM roles configured with trust policies.
This establishes trust between each AWS member account and the external corporate Identity Provider.
2
Configure SAML assertion mapping in the IdP
The corporate IdP is configured to release the Role attribute, listing the Role ARN and SAML Provider ARN pairs.
AWS uses the Role attribute in the SAML assertion to identify which role the federated user is authorized to assume.
3
Configure permission guardrails and grant policies
SCPs are applied at the OU level to define maximum allowed API calls, while local IAM policies attached to the roles grant the explicit permissions.
SCPs act as organizational-level boundaries, but local IAM policies are required to grant access to resources under the shared-responsibility model.

Anahtar Kavram

SAML 2.0 Multi-Account Federation and Governance using SCPs
Bu soruyu puanla