Resetting KOTS Admin Password



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?


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

  • Delete secrets

    kubectl delete secret kotsadm-password
    kubectl delete secret kotsadm-tls <-- Need to delete for Reinstall to work properly

  • Reinstall KOTS via

    curl -sSL<app_or_hash> | sudo bash

Note: Once kots cli is available for embedded clusters you can reset-password via cli.