An enterprise manages a multi-account AWS environment using AWS Organizations. The security team is setting up federated access from their on-premises SAML 2.0 Identity Provider (IdP) to a shared target account containing development resources. They want users in the IdP's 'AdminGroup' to assume an IAM role named FederatedDeveloperRole in the target account. Additionally, they must implement Attribute-Based Access Control (ABAC) using session tags (PrincipalTag:CostCenter and PrincipalTag:Team) passed during federation. The solutions architect must configure the trust relationship and assertion attributes to allow this federation while enforcing that these tags are present.
Which two actions should the solutions architect perform to successfully implement this configuration? (Select two.)
- Configure the trust policy of the FederatedDeveloperRole in the target account to allow the SAML provider principal to perform the actions sts:AssumeRoleWithSAML and sts:TagSession.Answer
- Configure the SAML assertion in the on-premises Identity Provider (IdP) to include user attributes mapped to the claims https://aws.amazon.com/SAML/Attributes/PrincipalTag:CostCenter and https://aws.amazon.com/SAML/Attributes/PrincipalTag:Team.Answer
- CConfigure the trust policy of the FederatedDeveloperRole with the action sts:AssumeRole, specifying the SAML provider's ARN as the Principal, and use a condition checking aws:PrincipalOrgID.
- DConfigure the SAML assertion in the on-premises Identity Provider (IdP) to pass the session tags as a comma-separated list of values under the single attribute claim https://aws.amazon.com/SAML/Attributes/RoleSessionName.
- EApply a Service Control Policy (SCP) at the Organizational Unit (OU) level containing the target account that allows sts:AssumeRoleWithSAML and defines the allowed values for the CostCenter and Team tags.