Manually delete a user account in the Keycloak Shasta
realm. User accounts are maintained via the Keycloak user management UI.
Removing an account from Keycloak is a good way to revoke admin or user privileges.
This procedure assumes that the password for the Keycloak admin
account is known. The Keycloak password is set during the software installation process. The password can be obtained with the following command:
ncn-mw# kubectl get secret -n services keycloak-master-admin-auth --template={{.data.password}} | base64 --decode
Access the Keycloak user management interface.
Navigate to the Users
tab.
Search for the username or ID of the account that is being deleted.
Click the Delete
button in the Actions
column of the table to remove the desired account.