cub serviceaccount token delete
cub serviceaccount token delete
Delete a service account's long-lived token
Synopsis
Delete the record of one long-lived token, by its id, to tidy the list.
A token that is still live stops working within a minute on every server, as a revoked one does, and is refused afterwards as unknown. Revoke it instead to keep the record that it was issued.
Examples:
cub serviceaccount token delete argo-prod 6f1c2a9e-3b7d-4e0a-9c11-2d5f8b7a4c3e
cub serviceaccount token delete <service account> <jti> [flags]
Options
-h, --help help for delete
-o, --output string Output format. One of: json, yaml, name, wide, mutations, jq=<expr>, yq=<expr>, custom-columns=<spec>
--quiet No default output.
--verbose Detailed output, additive with default output
Options inherited from parent commands
--context string The context to use for this command
--debug Debug output
SEE ALSO
- cub serviceaccount token - Manage the long-lived tokens a service account authenticates with