Importing and Exporting User Data

From the administration console, select the "Export" page. Check options "Export groups and roles" and "Export clients" before clicking on "Export" to download the configuration.

Exporting the Keycloak Configuration

A file realm-export.json is generated that contains all the configuration.

Note:

Note that users and groups that are not part of the imported configuration are left untouched. Realm and client information is overridden.

Select the file to import.

Selecting the Configuration File

And configure the "overwrite" option.

Configuring the Import