A logistics company is designing a multi-account AWS environment under AWS Organizations. The security team must configure single sign-on access for system administrators using the company's on-premises Active Directory Federation Services (AD FS) as the SAML Identity Provider (IdP). The administrators must be able to log in to the AWS Management Console with their existing corporate credentials and assume roles in various AWS member accounts based on their Active Directory group memberships.
Which combination of actions must the solutions architect take to establish this federated access? (Select TWO.)
- Create a SAML Identity Provider entity in each member account using the AD FS federation metadata document, and create IAM roles with a trust policy that allows the 'sts:AssumeRoleWithSAML' action for the SAML provider principal.Cevap
- Configure the AD FS assertion claims to output the 'https://aws.amazon.com/SAML/Attributes/Role' attribute mapping the user's Active Directory groups to the IAM role and SAML provider ARNs, along with the 'RoleSessionName' attribute.Cevap
- CCreate a single SAML Identity Provider entity in the management account of the organization, and attach a Service Control Policy (SCP) to the root OU to delegate federation access to the member accounts.
- DCreate a SAML Identity Provider entity in each member account, and create target IAM roles with a trust policy that allows the 'sts:AssumeRole' action for the SAML identity provider principal.
Cevap
Configure a SAML Identity Provider entity in each member account with a trust policy allowing 'sts:AssumeRoleWithSAML', and configure AD FS claims to output the AWS-required SAML attributes mapped to the correct ARNs.
Establishing SAML federation requires configuring both the AWS side (creating the SAML provider and a trust policy that allows 'sts:AssumeRoleWithSAML') and the IdP side (mapping the user group to release the correct SAML attributes, specifically the Role and RoleSessionName attributes).
Adım Adım Çözüm
Anahtar Kavram
SAML 2.0 federation trust configuration and attribute mapping in a multi-account AWS environment