An enterprise is designing a multi-account access strategy for its workloads managed under AWS Organizations. The security team wants to implement Attribute-Based Access Control (ABAC) to restrict access to resources within member accounts. Enterprise users reside in an external SAML 2.0 Identity Provider (IdP). Users must federate directly to target IAM roles in member accounts and be authorized dynamically based on their department attribute. The department name must be passed as a session tag during federation. Which of the following configuration steps must be performed to meet these requirements? (Select TWO.)
- Configure the SAML Identity Provider to release the user's department attribute as a SAML attribute named `https://aws.amazon.com/SAML/Attributes/PrincipalTag:Department`.Answer
- In each target member account, configure the trust policy of the federated IAM role to allow both the `sts:AssumeRoleWithSAML` and `sts:TagSession` actions for the SAML identity provider principal.Answer
- CIn each target member account, configure the trust policy of the federated IAM role to allow the `sts:AssumeRole` action, and attach a Service Control Policy (SCP) to the member accounts that grants `sts:TagSession` to the federated principal.
- DConfigure the SAML Identity Provider to release the department attribute using the default namespace `urn:oasis:names:tc:SAML:2.0:attrname-format:uri`, and configure a Service Control Policy (SCP) at the root level to allow session tagging across accounts.
- EIn each target member account, configure the federated IAM role trust policy to allow only the `sts:AssumeRoleWithSAML` action, and rely on an organizational Service Control Policy (SCP) to implicitly permit session tagging for the federated principal.
Answer
Configure the SAML Identity Provider to release the user's department attribute as a SAML attribute named with the PrincipalTag prefix, and configure the target federated IAM role trust policy to allow both the sts:AssumeRoleWithSAML and sts:TagSession actions.
To configure Attribute-Based Access Control (ABAC) using SAML federation, the SAML Identity Provider must send user attributes as session tags. This is achieved by naming the attribute in the SAML assertion with the prefix `https://aws.amazon.com/SAML/Attributes/PrincipalTag:Department`. Furthermore, the IAM role trust policy in the target accounts must explicitly allow both the `sts:AssumeRoleWithSAML` action (to perform the federation) and the `sts:TagSession` action (to allow the role to accept the incoming session tags).
Step-by-Step Solution
Key Concept
Multi-Account Identity and Access Management Federation using SAML session tags for Attribute-Based Access Control (ABAC).