Remove a user
This example explains how to remove a user from OnSphere by updating the users.keycloak file and deleting the account from the Keycloak administration console. No downloadable configuration example is provided for this page — follow the steps below manually.
Remove the user entry from
users.keycloakand push the configuration.Log into the Keycloak administration console and permanently delete the user account from the Users tab.
git checkout origin/osp-keycloak-configuration .
Steps
Open the configuration
Open the
users.keycloakfileRemove the user from the configuration if present
Push the configuration
Access the Keycloak administration console https://{stack_ip}:{stack_port}/auth/admin (for example https://stack-1.onsphere.local:5000/auth/admin)
Login to Keycloak administration console using administration user and password configured when the stack was deployed (see System security)
Go to the
Userstab underManagecategoryClick on
View all usersClick on
Deletefor the user to remove