[keycloak-user] export of realm json
Thomas Raehalme
thomas.raehalme at aitiofinland.com
Sun Oct 4 17:37:03 EDT 2015
On Oct 4, 2015 23:57, "Bill Burke" <bburke at redhat.com> wrote:
>
> For security reasons we did not want to have a remote option to export.
You can still access all the same information via the admin application,
no? So I wonder if it really improves security...
>From admin point of view it would be much easier if it was possible to
export realms.
Best regards,
Thomas
> On 10/4/2015 5:27 AM, Tim Dudgeon wrote:
> > 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
> >
> >
> >
> > _______________________________________________
> > keycloak-user mailing list
> > keycloak-user at lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/keycloak-user
> >
>
> --
> Bill Burke
> JBoss, a division of Red Hat
> http://bill.burkecentral.com
> _______________________________________________
> 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/20151005/1fb93fc0/attachment.html
More information about the keycloak-user
mailing list