How to Import/Export Keycloak realms in RHBK on OpenShift using `oc debug`
Issue
The Server Configuration Guide explains how to back up and restore realms using the export and import subcommands of the kc.sh command, but in the case of RHBK running on OpenShift, how can these commands be executed?
Environment
- Red Hat Build of Keycloak
- 22.0
- 24.0
- 26.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.