Resetting KOTS Admin Password


#1

If I lose the auto-generated KOTS admin password for the embedded install or forgot what I set it for existing install, how do I go about resetting these?


#2

The admin password is stored as a bcrypt value so once set it cannot be read back, the only way to recover is to reset it.

Existing Install

kubectl kots reset-password -n <namespace>

Embedded Install

  • Reset password

    kubectl kots reset-password -n <namespace>

  • Delete kotsadm-api pod

    kubectl delete po kotsadm-api-xxxxx-xxxx