Skip to content

This tool is not affiliated with, endorsed by or sponsored by The Linux Foundation, the Cloud Native Computing Foundation (CNCF) or the Kubernetes project. Kubernetes and K8s are registered trademarks of The Linux Foundation. EKS, GKE, AKS and other names are trademarks of their respective owners.

Glossary

TokenRequest

The Kubernetes API (serviceaccounts/token subresource) that mints short-lived, audience-bound tokens for a service account, as used by kubectl create token.

TokenRequest is the API behind the serviceaccounts/token subresource. The kubelet uses it to obtain the projected tokens mounted in Pods, and kubectl create token <name> uses it to mint a token by hand. In the audit log it appears as a create on serviceaccounts with subresource token; at Request level the body shows the requested expirationSeconds and audiences.

An interactive client minting a long-lived token for a privileged service account is a persistence step. Such tokens stay valid until they expire unless the service account (or the object the token is bound to) is deleted. See token theft.

This tool is not affiliated with, endorsed by or sponsored by The Linux Foundation, the Cloud Native Computing Foundation (CNCF) or the Kubernetes project. Kubernetes and K8s are registered trademarks of The Linux Foundation. EKS, GKE, AKS and other names are trademarks of their respective owners.