token exchange
Trading one proof of identity, such as a platform-issued workload token, for another token that a target service accepts.
In more detail
An exchange service checks the presented identity against a policy and returns a short-lived token for one audience. The standard protocol is described in RFC 8693, and cloud providers offer it through services such as AWS STS.
Example
In the course, the exchange service checks the workload name against an audience policy and returns a short-lived token.Related terms
- workload identity — An identity for software rather than a person, proven by a signed token from the platform it runs on instead of a stored key.
- audience — The recipient a token is meant for, named in its aud claim, such as one particular API.
- AWS STS — The AWS Security Token Service, which issues temporary credentials when someone assumes a role.
Taught in
- Excessive Agency — AI Engineering: LLM Apps, RAG & Agents
- Workload Identity — Application Security & Threat Modeling for Engineers