A financial services organization is establishing a federated identity solution to allow corporate directory users to log in directly to 100+ AWS member accounts within an AWS Organization. The company is using an on-premises SAML 2.0 compliant Identity Provider (IdP). The Solutions Architect must configure the environment to map corporate group memberships to specific IAM roles in each member account while ensuring federated access is secure and follows AWS best practices. Which of the following actions must the Solutions Architect take to successfully establish this federation? (Select TWO.)
- Create a SAML Identity Provider entity in each member account and configure IAM roles with a trust policy that specifies the sts:AssumeRoleWithSAML action and references the SAML provider ARN as the Principal.Cevap
- Configure the external IdP to send SAML assertions containing the https://aws.amazon.com/SAML/Attributes/Role attribute populated with the ARN of the IAM role and the ARN of the SAML provider, along with the RoleSessionName attribute.Cevap
- CCreate a single centralized SAML Identity Provider in the AWS Organizations management account and attach a Service Control Policy (SCP) to the root organizational unit to propagate the trust relationship to all member accounts.
- DConfigure IAM roles in the member accounts with a trust policy that allows the sts:AssumeRole action and specifies the external IdP's metadata URL in the Principal element.
Cevap
To configure direct SAML 2.0 federation, the Solutions Architect must create a SAML Identity Provider in each member account and configure IAM roles with a trust policy allowing the sts:AssumeRoleWithSAML action. Additionally, the external IdP must be configured to pass the Role and RoleSessionName attributes in the SAML assertion.
Establishing a trust relationship with a SAML 2.0 IdP requires defining a SAML identity provider within each member account that users need to access. Roles in these accounts must trust this provider using the sts:AssumeRoleWithSAML action. The external IdP must also send the AWS-specific SAML attributes (Role and RoleSessionName) to allow AWS to validate and map the incoming assertion to the correct IAM role.
Adım Adım Çözüm
Anahtar Kavram
Direct SAML 2.0 federation to multiple AWS accounts requires a local SAML identity provider, a trust policy utilizing sts:AssumeRoleWithSAML, and the mapping of required AWS SAML attributes at the IdP.