You could write a Java program using the keycloak-admin-client to recreate the users from
your exiting database.
On 10/18/18, 10:36 AM, "keycloak-user-bounces(a)lists.jboss.org on behalf of Bruce
Wings" <keycloak-user-bounces(a)lists.jboss.org on behalf of
testoauth55(a)gmail.com> wrote:
Thanks for the reply. But I am looking for a non command line way to
import/export users. Is there an admin rest API or admin web console option
for the same?
On Thursday, October 18, 2018, Deepa Gaddigoudar <deepag(a)aissel.com> wrote:
https://github.com/Codingpedia/codingmarks.org/
wiki/Move-keycloak-database-from-H2-to-MySql
*https://www.keycloak.org/docs/latest/server_installation/index.html#_database*
<
https://www.keycloak.org/docs/latest/server_installation/index.html#_data...
Use below command to export users:
KEYCLOAK_HOME/standalone.sh -Dkeycloak.migration.action=export
-Dkeycloak.migration.provider=dir -Dkeycloak.migration.dir=exported_realms
-Dkeycloak.migration.strategy=OVERWRITE_EXISTING
On Thursday 18 October 2018 04:58 PM, Bruce Wings wrote:
Is the only way to export users via* kcadm.sh/.bat <
http://kcadm.sh/.bat>
<
http://kcadm.sh/.bat> *or
is there a way to export users via admin console / admin rest API?
_______________________________________________
keycloak-user mailing
listkeycloak-user@lists.jboss.orghttps://lists.jboss.org/mailman/listinfo/keycloak-user
--
------------------------------
*Deepa M Gaddigoudar | Software Developer*
Aissel Technologies Pvt. Ltd.
A Block, Floor 2, IT Park, Hubli – 580029. India
Ph (Ind) : +91 836-235-1011 l Ph: +1 347-966-8181
Cell: +91 8951519616
E-Mail: deepag(a)aissel.com
_______________________________________________
keycloak-user mailing list
keycloak-user(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user