<div dir="ltr">You can import users via the rest API or import from JSON. For import from JSON you have to options either partial import in the admin console or import at startup [1].<div><br></div><div>In either case you have to implement a bcrypt password hashing provider. There's no documentation for this yet, but you'd need to implement a provider for PasswordHashProvider [2]. There's general docs for implementing a custom provider though [3].<br><div><br></div><div>[1] <a href="https://keycloak.gitbooks.io/server-adminstration-guide/content/topics/export-import.html">https://keycloak.gitbooks.io/server-adminstration-guide/content/topics/export-import.html</a></div></div><div>[2] <a href="https://github.com/keycloak/keycloak/blob/master/server-spi/src/main/java/org/keycloak/hash/PasswordHashProvider.java">https://github.com/keycloak/keycloak/blob/master/server-spi/src/main/java/org/keycloak/hash/PasswordHashProvider.java</a></div><div>[3] <a href="https://keycloak.gitbooks.io/server-developer-guide/content/topics/providers.html">https://keycloak.gitbooks.io/server-developer-guide/content/topics/providers.html</a></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 19 July 2016 at 21:05, Richard Lavallee <span dir="ltr"><<a href="mailto:rllavallee@hotmail.com" target="_blank">rllavallee@hotmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div dir="ltr">Is it feasible to import username and hashed-password strings to Keycloak in one batch? Must I migrate the bcrypt algorithm we use along with it onto Keycloak somehow? Looking for guidance/documentation for doing such please.<span class="HOEnZb"><font color="#888888"><div><br></div><div>-Richard</div><div><br></div>                                            </font></span></div></div>
<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><br></blockquote></div><br></div>