A financial technology company is implementing a multi-account AWS environment using AWS Organizations. The security team wants to establish federated access for internal developers using their corporate Active Directory Federation Services (AD FS) identity provider via SAML 2.0. The developers must be able to directly authenticate and access the AWS Management Console in multiple member accounts with specific permissions. Which TWO configurations are required to establish this trust relationship and enable federated access?
- Create a SAML 2.0 identity provider in each AWS member account, and create federated IAM roles with a trust policy that allows the sts:AssumeRoleWithSAML action for the SAML provider principal.Cevap
- Configure the corporate AD FS to send SAML assertions that map LDAP attributes to the AWS-defined claims for the role and the role session name.Cevap
- CCreate a federated IAM role in the member accounts with a trust policy that permits the sts:AssumeRoleWithWebIdentity action pointing to the AD FS metadata endpoint.
- DApply a Service Control Policy (SCP) at the root level of the AWS Organization that allows the sts:AssumeRoleWithSAML action for the external identity provider.
- EConfigure the SAML 2.0 identity provider solely in the AWS Organizations management account, and configure AD FS to assume roles in the member accounts using the sts:AssumeRole action.
Cevap
The configurations requiring a SAML 2.0 identity provider in each member account with the sts:AssumeRoleWithSAML action, and configuring AD FS to send the specific AWS-defined SAML claims are required.
The correct configurations involve setting up a SAML 2.0 identity provider in each target member account and creating IAM roles with trust policies that allow the sts:AssumeRoleWithSAML action. Furthermore, the external identity provider (AD FS) must be configured to pass the mandatory SAML claims containing the role mapping and session name so that AWS can authorize the federated session.
Adım Adım Çözüm
Anahtar Kavram
Establishing trust and attribute mapping in direct multi-account SAML 2.0 federation.