A company is configuring federated single sign-on (SSO) access to multiple AWS member accounts in an AWS Organization using an on-premises Active Directory Federation Services (AD FS) identity provider. A solutions architect has created a SAML identity provider in each AWS member account. To allow authenticated enterprise users to assume specific IAM roles in the member accounts, which configuration is required in the trust policy of these IAM roles?
- AConfigure the Principal element to reference the ARN of the SAML identity provider created in the member account, and set the Action element to sts:AssumeRole.
- BConfigure the Principal element to reference the federated user's principal name, and set the Action element to sts:AssumeRoleWithWebIdentity.
- Configure the Principal element to reference the ARN of the SAML identity provider created in the member account, and set the Action element to sts:AssumeRoleWithSAML.Cevap
- DConfigure the Principal element to reference the AWS Organization's management account root ARN and allow the sts:AssumeRole action, relying on a Service Control Policy (SCP) to map AD FS groups to the roles.
Cevap
Configure the Principal element to reference the ARN of the SAML identity provider created in the member account, and set the Action element to sts:AssumeRoleWithSAML.
The correct answer specifies configuring the Principal element to reference the ARN of the SAML identity provider and setting the Action element to sts:AssumeRoleWithSAML. To establish trust for federated users, the IAM role's trust policy must explicitly trust the local SAML provider created in the account and permit the sts:AssumeRoleWithSAML action.
Adım Adım Çözüm
Anahtar Kavram
To implement SAML 2.0 federation, target IAM roles in member accounts must contain a trust policy that sets the SAML provider ARN as the Principal and permits the sts:AssumeRoleWithSAML action.
Tahmini Süre:2m 0s