A medical technology organization operates a multi-account structure managed via AWS Organizations. The security team is implementing single sign-on for application developers using PingFederate as an external SAML 2.0 Identity Provider (IdP). To maintain a secure architecture, the organization mandates that all user authentication occurs via a centralized Identity account. Once authenticated, developers must assume target roles in various application-specific member accounts to perform their duties. The developers also need to pass dynamic session tags (such as 'CostCenter' and 'Environment') from the SAML assertion to the target member account roles to support Attribute-Based Access Control (ABAC).
The administrator configures the SAML assertion to include the attributes for transitive session tags. During testing, developers can successfully authenticate and assume the initial federated role in the Identity account. However, when they attempt to switch roles to the application member accounts, the API call to assume the target role is denied.
Which configuration change will resolve this issue and allow developers to access the member accounts with their session tags?
- AConfigure the PingFederate SAML provider in each member account. Update the trust policy of the target role in each member account to permit 'sts:AssumeRoleWithSAML' directly from the provider, bypassing the Identity account.
- BAttach a Service Control Policy (SCP) at the root of the AWS Organization that allows the 'sts:AssumeRole' and 'sts:TagSession' actions for the federated role, and remove the local trust policies from the target roles in the member accounts.
- Update the trust policy of the target roles in the member accounts to trust the Identity account's federated role and explicitly permit both the 'sts:AssumeRole' and 'sts:TagSession' actions. Ensure the federated role's identity-based policy in the Identity account allows these same actions on the target roles.Cevap
- DConfigure the target role trust policies in the member accounts to allow the 'sts:AssumeRole' action from the Identity account's federated role. Update the federated role's identity-based policy in the Identity account to permit 'sts:AssumeRole' on the target roles without granting 'sts:TagSession'.