kubekanvas logout
Remove the stored authentication token and log out from KubeKanvas. After logging out, you will need to run kubekanvas login again to use CLI commands that require authentication.
Usage
kubekanvas logoutWhat It Does
- Checks if an authentication token exists in your system keychain
- If no token is found, displays a “not logged in” message
- If a token exists, deletes it from the keychain
Example Output
$ kubekanvas logout
✅ Successfully logged out.$ kubekanvas logout
ℹ️ You are not currently logged in.What Is Not Removed
The logout command only removes the authentication token. The following are preserved:
~/.kubekanvas/config.json— Connection ID is kept for re-authentication~/.kubekanvas/cluster-mapping.json— Cluster mappings are preserved- Encryption keys — Your encryption keypair remains in the keychain
To fully reset your CLI state including clusters and encryption keys, use kubekanvas configure --reset.