What is token exchange?

Definition

The service evaluates the presented evidence and requested access before issuing a token for a particular audience and scope. In an agent workflow, this can preserve who the agent acts for while narrowing authority for a downstream operation.

Exchanging tokens does not automatically make a system safe. The issuer must verify evidence and enforce meaningful audience, scope and lifetime limits, and downstream services must validate the resulting token.

ELI5

Think of showing an approved pass at a desk to obtain a limited visitor badge for one destination. The desk decides whether the requested badge is allowed.

For example, an agent could obtain a short-lived credential for one permitted tool operation rather than receive a standing key to every business system.

Does a token exchange automatically grant every requested permission?

No. Policy should determine which requested access is authorized and refuse inappropriate scope.

Why issue a narrower token?

It can limit the resources, audience or operations accessible to a particular step.

  1. Kim Maida in a blue top and glasses against black beside the blue-and-white headline “Scope Agent Access”.
Definition card for token exchange: What is token exchange?

Token exchange obtains a new security token from an authorized service using existing identity or delegation evidence under an applicable policy.