[keycloak-user] export of realm json

Tim Dudgeon tdudgeon.ml at gmail.com
Sun Oct 4 05:27:30 EDT 2015


Thanks. That looks like what I need.
Tim

On 03/10/2015 13:39, Giriraj Sharma wrote:
> Hi Tim,
>
>
> Please have a look a keycloak docs 
> <http://keycloak.github.io/docs/userguide/html/export-import.html>[1]. 
> I am not sure if it can be achieved via admin console too but I don't 
> think so.
>
> To export into single JSON file you can use:
>
>
> bin/standalone.sh -Dkeycloak.migration.action=export
> -Dkeycloak.migration.provider=singleFile -Dkeycloak.migration.file=<FILE TO EXPORT TO>
>
> Here's an example of importing:
>
> bin/standalone.sh -Dkeycloak.migration.action=import
> -Dkeycloak.migration.provider=singleFile -Dkeycloak.migration.file=<FILE TO IMPORT>
> -Dkeycloak.migration.strategy=OVERWRITE_EXISTING
> [1]http://keycloak.github.io/docs/userguide/html/export-import.html
>
> On Sat, Oct 3, 2015 at 4:25 PM, Tim Dudgeon <tdudgeon.ml at gmail.com 
> <mailto:tdudgeon.ml at gmail.com>> wrote:
>
>     keycloak provides a way to import the definition of a realm as
>     json, but
>     I can't see any way in the UI to export the definition in the
>     first place.
>     Am I missing something obvious?
>     Tim
>     _______________________________________________
>     keycloak-user mailing list
>     keycloak-user at lists.jboss.org <mailto:keycloak-user at lists.jboss.org>
>     https://lists.jboss.org/mailman/listinfo/keycloak-user
>
>
>
>
> -- 
> Giriraj Sharma
> about.me/girirajsharma
>
> <http://about.me/girirajsharma?promo=email_sig>
>
> Giriraj Sharma,
> Department of Computer Science
> National Institute of Technology Hamirpur
> Himachal Pradesh, India 177005

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-user/attachments/20151004/e0f440d2/attachment.html 


More information about the keycloak-user mailing list