<div dir="ltr">Roles and groups should be exported to the realm export, while role mappings and group mappings should be exported to the user export.</div><div class="gmail_extra"><br><div class="gmail_quote">On 2 March 2016 at 13:15, Edgar Vonk - Info.nl <span dir="ltr"><<a href="mailto:Edgar@info.nl" target="_blank">Edgar@info.nl</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
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.<br>
<br>
Currently only users are exported to a different JSON file (<a href="http://keycloak.github.io/docs/userguide/keycloak-server/html/export-import.html" rel="noreferrer" target="_blank">http://keycloak.github.io/docs/userguide/keycloak-server/html/export-import.html</a>) but groups are not. Does it make sense to create a feature request to also export user groups separately?<br>
<br>
We have hundreds of groups in AD/LDAP which we sync to Keycloak so we really do not want these in the realm JSON.<br>
<br>
cheers<br>
<br>
Edgar<br>
<br>
_______________________________________________<br>
keycloak-user mailing list<br>
<a href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/keycloak-user" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-user</a></blockquote></div><br></div>