OS
Schema Hub

TokenReviewSpec

TokenReviewSpec is a description of the token authentication request.

Schema URL
https://raw.githubusercontent.com/nlamirault/schema-hub/main/schemas/authentication.api.k8s.io/TokenReviewSpec_v1.json
Usage examples
VS Code / yaml-language-server
# yaml-language-server: $schema=https://raw.githubusercontent.com/nlamirault/schema-hub/main/schemas/authentication.api.k8s.io/TokenReviewSpec_v1.json
kubeconform
kubeconform -schema-location 'https://raw.githubusercontent.com/nlamirault/schema-hub/main/schemas/{{ .Group }}/{{ .ResourceKind }}_{{ .ResourceAPIVersion }}.json' manifest.yaml

Resource Structure

audiencesarray
Audiences is a list of the identifiers that the resource server presented with the token identifies as. Audience-aware token authenticators will verify that the token was intended for at least one of the audiences in this list. If no audiences are provided, the audience will default to the audience of the Kubernetes apiserver.
tokenstring
Token is the opaque bearer token.