[keycloak-user] Exporting a realm as JSON file should not contain user groups?

Stian Thorgersen sthorger at redhat.com
Wed Mar 2 07:25:15 EST 2016

Roles and groups should be exported to the realm export, while role
mappings and group mappings should be exported to the user export.

On 2 March 2016 at 13:15, Edgar Vonk - Info.nl <Edgar at info.nl> wrote:

> Hi,
> We notice that when we export our custom realm to a JSON file (to a
> directory) that this file also contains all User Groups. We do not want
> this as we synchronise these User Groups from AD/LDAP just like our users.
> We want to have realm configuration in the realm JSON file only and not any
> ‘run-time’ managed data such as users and user groups.
> Currently only users are exported to a different JSON file (
> http://keycloak.github.io/docs/userguide/keycloak-server/html/export-import.html)
> but groups are not. Does it make sense to create a feature request to also
> export user groups separately?
> We have hundreds of groups in AD/LDAP which we sync to Keycloak so we
> really do not want these in the realm JSON.
> cheers
> Edgar
> _______________________________________________
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-user/attachments/20160302/730a685a/attachment-0001.html 

More information about the keycloak-user mailing list