token audience

The field in a token that names which service it is meant for, so any other service should reject it.

In more detail

Checking the audience stops a token issued for one purpose being replayed against another. Receivers should reject any token whose audience is not theirs.

Example

kubectl create token web --duration=10m --audience=api   # a Kubernetes token bound to one audience

Related terms

Taught in

References