Lost the root credentials #88
-
After the initial sign in on the freshly installed instance, I've lost those I guess this will be a common use case until #42 is implemented. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
From my knowledge; if it's not present in the logs or in any of secrets, then it is lost and you can only reset it using keycloak api from within the cluster. |
Beta Was this translation helpful? Give feedback.
-
For recovering the root credentials you still can run the command: echo "Email: $(kubectl get secret root-user -n default -o jsonpath='{.data.email}' | base64 -d)"; echo "Password: $(kubectl get secret root-user -n default -o jsonpath='{.data.password}' | base64 -d)"; echo "API Token: $(kubectl get secret root-user -n default -o jsonpath='{.data.token}' | base64 -d)" It should print the root credentials, since they are on the secret |
Beta Was this translation helpful? Give feedback.
For recovering the root credentials you still can run the command:
It should print the root credentials, since they are on the secret
root-user
.