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[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@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@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user



--
 
 
Giriraj Sharma, 
Department of Computer Science 
National Institute of Technology Hamirpur 
Himachal Pradesh, India 177005