Identity and Access Management

A SaaS provider assumes customer roles through a shared AWS principal, using role ARNs supplied by customers. Which configuration best prevents a customer from tricking the provider into assuming another customer's role?

Show the answer

Correct answerD. Require a provider-assigned external ID unique to each customer in the role trust policy.

AWhy not this: The provider uses the same outbound infrastructure for multiple customers, so source IP does not distinguish them.

BWhy not this: A shared external ID cannot distinguish requests made for different customers.

CWhy not this: A role session name identifies a session but does not securely bind the provider's request to the intended customer.

DWhy this is right: A provider-controlled, customer-specific external ID prevents another customer from supplying a matching value through the provider.

A unique external ID assigned by the provider binds each customer's AssumeRole request to the intended role, mitigating the confused deputy problem. Checking the provider's source IP identifies the provider but does not distinguish its customers.