kots reset-password

If you’ve deployed an application with the admin console, the kots reset-password command will change the bcrypted password hash in the cluster, allowing you to log in again.


kubectl kots reset-password [namespace] [flags]
  • Replace [namespace] with the namespace where the admin console and your KOTS application resides (required).
  • Provide [flags] according to the table below
Flag Type Description
-h, --help help for reset-password
--kubeconfig string the kubeconfig to use (default is $KUBECONFIG. If unset, then $HOME/.kube/config)


kubectl kots reset-password sentry-namespace