audience claim
The token claim naming who the token is meant for, so a service can refuse tokens minted for somebody else.
In more detail
A service rejects a token whose aud value is not its own identifier. For AWS the audience is sts.amazonaws.com, and a trust policy condition requires it.
Related terms
- claim — One statement inside a token, as a name and value, such as sub (subject), exp (expiry), iss (issuer), aud (audience) or scope.
- trust policy — A JSON document on a cloud role that says who may assume the role and under which conditions.
Taught in
- Keyless Authentication: OIDC to the Cloud — Continuous Integration & Continuous Delivery Pipelines