An enterprise manages its applications across 50 AWS accounts organized under AWS Organizations. The security team is designing a federated identity solution using an external SAML 2.0 compliant Identity Provider (IdP). To minimize administrative overhead and centralize user authentication, the team plans to establish the SAML trust relationship in a single dedicated Identity AWS account. Corporate engineers must be able to use the AWS CLI to authenticate via the external IdP and obtain temporary security credentials to access specific target roles in various production and development member accounts. Which combination of configuration steps is required to implement this federated access model? (Select TWO.)
- In the central Identity account, create a SAML identity provider and a federated IAM role, then configure this role's trust policy to allow the `sts:AssumeRoleWithSAML` action from the SAML identity provider principal.Answer
- In the target member accounts, configure the trust policy of each target role to allow the `sts:AssumeRole` action, specifying the Amazon Resource Name (ARN) of the federated IAM role in the central Identity account as the principal.Answer
- CIn the central Identity account, configure the federated IAM role's trust policy to allow the `sts:AssumeRole` action for the SAML identity provider principal.
- DIn each target member account, configure the role's trust policy to permit the `sts:AssumeRoleWithSAML` action directly referencing the external SAML identity provider's metadata URL without creating a SAML provider resource in the member account.
- EApply a Service Control Policy (SCP) to the Organizational Unit (OU) containing the member accounts that explicitly grants the central federated role permission to assume any role in the OU, removing the need for trust policies in the member accounts.
Answer
In the central Identity account, create a SAML identity provider and a federated IAM role, then configure this role's trust policy to allow the sts:AssumeRoleWithSAML action from the SAML identity provider principal; and in the target member accounts, configure the trust policy of each target role to allow the sts:AssumeRole action, specifying the Amazon Resource Name (ARN) of the federated IAM role in the central Identity account as the principal.
Establishing federated access in a centralized identity account (the 'hop' model) requires a SAML provider resource and a federated IAM role configured with `sts:AssumeRoleWithSAML`. To enable access to target member accounts, those target roles must explicitly trust the central federated role as a principal using `sts:AssumeRole`. This combined structure minimizes identity provider configuration overhead while maintaining strict least-privilege delegation across the organization.
Step-by-Step Solution
Key Concept
Cross-account IAM delegation combined with centralized SAML federation (the 'hop' model).
Estimated Time:3m 0s