跳轉到

tenax admin reset-password

tenax admin reset-password

Generate a new administrator password and sign everyone out

Synopsis

Deletes the administrator's Secrets and ends every session, so that tenax-api generates a new password within 30 seconds (ADR 0046). Needs Kubernetes permission to delete and update Secrets in Tenax's namespace: whoever has it may recover the console. Read the new password with:

kubectl -n tenax-system get secret tenax-initial-admin -o jsonpath='{.data.password}' | base64 -d

tenax admin reset-password [flags]

Options

      --context string      kubeconfig context (default: the current one)
  -h, --help                help for reset-password
      --kubeconfig string   kubeconfig file (default: $KUBECONFIG or ~/.kube/config)
  -n, --namespace string    namespace Tenax runs in (default "tenax-system")

Options inherited from parent commands

      --lang string   language of this run's output, for example es or es_MX (over TENAX_LANG and the configured language)

SEE ALSO

  • tenax admin - Recover the console's administrator account (through your kubeconfig)