A legacy workforce portal issues signed SAML 2.0 assertions for direct federation into an AWS account without IAM Identity Center. Which design lets employees obtain temporary AWS credentials using those assertions?
Show the answer
Correct answerD. Create an IAM SAML provider and use AssumeRoleWithSAML.
AWhy not this: Roles Anywhere requires X.509 certificates, not assertions issued by a SAML identity provider.
BWhy not this: AssumeRoleWithWebIdentity consumes supported web identity tokens rather than SAML assertions.
CWhy not this: An external ID addresses confused-deputy risks in role assumption; it does not authenticate a SAML assertion.
DWhy this is right: An IAM SAML provider establishes federation trust, and AssumeRoleWithSAML exchanges valid assertions for temporary credentials.
Direct SAML federation uses an IAM SAML provider and a role that trusts it, with AWS STS AssumeRoleWithSAML issuing temporary credentials. AssumeRoleWithWebIdentity accepts supported web identity tokens, not SAML assertions.