Skip to content

ezgh kubernetes token

Print a token for kubectl.

Updated View as Markdown
ezgh kubernetes token --cluster c [flags]

Print a short-lived token for a cluster as a kubectl ExecCredential, with your EZGH credential. kubectl runs this itself: ezgh kubernetes update-kubeconfig sets it up. Nothing is stored: kubectl keeps the token in memory and asks again before it expires.

Part of ezgh kubernetes.

Flags

Flag Type Default Description
--cluster string the cluster

This command also takes the global flags.

Navigation

Type to search…

↑↓ navigate↵ selectEsc close