Skip to content
tcloud kubernetes kubeconfig-sessions delete

kubernetes kubeconfig-sessions delete

tcloud kubernetes kubeconfig-sessions delete

Delete a kubeconfig session

Synopsis

Revoke a kubeconfig session for a Kubernetes cluster.

Provide the cluster as the first argument or with –cluster, and the session identity as the final argument. The cluster may be omitted when kubernetes.cluster is set in a directory .thalassa file.

tcloud kubernetes kubeconfig-sessions delete [cluster] <session> [flags]

Options

      --cluster string   Cluster identity, name, or slug (defaults to kubernetes.cluster in .thalassa)
      --force            Skip the confirmation prompt and delete
  -h, --help             help for delete

Options inherited from parent commands

      --access-token string    Access Token authentication (overrides context)
      --api string             API endpoint (overrides context)
      --client-id string       OIDC client ID for OIDC authentication (overrides context)
      --client-secret string   OIDC client secret for OIDC authentication (overrides context)
  -c, --context string         Context name
      --debug                  Debug mode
      --ignore-dir-config      Ignore directory-local .thalassa defaults
  -O, --organisation string    Organisation slug or identity (overrides context)
  -P, --project string         Project identity (overrides context; slug is resolved to identity; use "root" for organisation scope)
      --token string           Personal access token (overrides context)

SEE ALSO