Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions docs/guides/operator/advanced-configuration.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -404,6 +404,15 @@ When you create a new instance the Keycloak CR spec.bootstrapAdmin stanza may be

If a master realm has already been created for your cluster, then the spec.bootstrapAdmin is effectively ignored. If you need to create a recovery admin account, then you'll need to run the CLI command against a Pod directly.

The following is an example command for recovering a temporary admin user:

[source,bash,subs=+attributes]
----
oc exec -it pod/cs-keycloak-0 -- bash
export KC_HTTP_MANAGEMENT_PORT=9001
/opt/keycloak/bin/kc.sh bootstrap-admin user --username $KC_BOOTSTRAP_ADMIN_USERNAME --password:env KC_BOOTSTRAP_ADMIN_PASSWORD
----

For more information on how to bootstrap a temporary admin user or service account and recover lost admin access, refer to the <@links.server id="bootstrap-admin-recovery"/> guide.

=== Tracing (OpenTelemetry)
Expand Down