0PricingLogin
AWS Security Academy · Lesson

External ID and the Confused Deputy

Prevent third parties from being tricked into misusing access.

A Subtle Trust Problem

When you let a third party assume a role in your account, a security risk called the confused deputy problem can arise. The external ID is the simple but vital control that prevents it. This pattern appears on the exam whenever a SaaS vendor needs access to your AWS account.

What a Confused Deputy Is

A confused deputy is a trusted entity (the deputy) that is tricked into using its authority on behalf of an attacker. In AWS, a third-party service has permission to assume roles in many customer accounts; an attacker could trick it into assuming your role if nothing ties the request to the legitimate customer relationship.

All lessons in this course

  1. How STS Issues Temporary Credentials
  2. AssumeRole and the Session Lifetime
  3. External ID and the Confused Deputy
  4. Session Policies and Tag-Based Scoping
← Back to AWS Security Academy