A monitoring provider assumes roles in many customers' AWS accounts using the same provider principal. A customer must prevent another customer from tricking the provider into assuming its monitoring role. What should the customer require?
Show the answer
Correct answerD. A provider-generated, customer-unique external ID in the trust policy.
AWhy not this: The shared provider role is used for many customers, so restricting that principal alone does not prevent this attack.
BWhy not this: A role session name identifies a session but is not the customer-binding control designed for this risk.
CWhy not this: Requests made for other customers can originate from the same provider network.
DWhy this is right: Requiring the provider's unique external ID binds role assumption to the intended customer relationship.
A customer-unique external ID lets the role distinguish the provider's requests for that customer, mitigating the confused deputy problem. Restricting the principal to the provider's shared role does not distinguish among the provider's customers.