Security, Compliance, and Governance

A SaaS provider uses one IAM role to assume customer-owned roles, and customers can submit target role ARNs to the provider. Which customer trust-policy design prevents another customer from directing the provider to assume the wrong customer's role?

Show the answer

Correct answerA. Trust the provider role and require its provider-assigned, customer-specific external ID

AWhy this is right: The provider supplies the intended customer's unique external ID, preventing another customer from reusing only that customer's role ARN.

BWhy not this: A customer-chosen session name does not securely bind the provider's request to the intended customer.

CWhy not this: A shorter session reduces credential lifetime but does not prevent assumption of the wrong customer's role.

DWhy not this: The provider's organization identifies the provider, not the customer on whose behalf it is acting.

A provider-assigned external ID uniquely associates the assumption request with the intended customer, mitigating the confused deputy problem. A role session name identifies a session but does not establish that customer association.