CmdID / kubectl / kubectl create
kubectl create token
Request a service account token kubectl reference
10 options Its page in the kubectl reference
Options
--allow-missing-template-keysIf true, ignore any errors in templates when a field or map key is missing in the template.--audienceAudience of the requested token.--bound-object-kindKind of an object to bind the token to.--bound-object-nameName of an object to bind the token to.--bound-object-uidUID of an object to bind the token to.--durationRequested lifetime of the issued token.--help, -hhelp for token--output, -oOutput format.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--templateTemplate string or path to template file to use when -o=go-template, -o=go-template-file.