Hello,

You can import and export (in JSON format), as described in this part of the manual: https://keycloak.github.io/docs/userguide/keycloak-server/html/export-import.html

Although you can import existing passwords in that way (I used it to create a couple of thousand test users with a specific password), I don't know if you also can import encrypted passwords and/or password hashes using specific algorithms (I've only tried it with plain text passwords).

Regards,

  Guus

On 15 April 2016 at 13:37, Rajkiran K <rajkiran.k@inteqsolutions.com> wrote:

Hi,

We have a requirement, where we need to migrate the users (In Bulk users JSON file format – Need to migrate all users in one go) into keycloak users, without resetting their password, In Our Existing system, user passwords are Hashed with Bcrypt algorithm with strength 10. In our observation Password Hashing SPI supporting Pbfdk2 algorithm.  Does this Password Hashing SPI supports Bcrypt algorithm with strength 10 . Is it possible to migrate all users without resetting the password into keycloak. Also there is any way to use same bcrypt password hash from Existing system to key cloak database.

If it is possible can you please provide any documentation for implementing this requirement. Thanks in advance.

Thanks
Raj Kiran


_______________________________________________
keycloak-user mailing list
keycloak-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user