# User storage SPI

**URL:** <https://forum.keycloak.org/t/user-storage-spi/1250>\
**Category:** Getting advice\
**Created:** [February 13, 2020, 12:52pm UTC](https://forum.keycloak.org/t/user-storage-spi/1250 "2020-02-13T12:52:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![radovans](https://avatars.discourse-cdn.com/v4/letter/r/bcef8e/32.png) [@radovans](https://forum.keycloak.org/u/radovans)\
**Post date:** [February 13, 2020, 12:52pm UTC](https://forum.keycloak.org/t/user-storage-spi/1250/1 "2020-02-13T12:52:38Z")

</div>

Hello. I am trying to integrate keycloak into our application. We got legacy user database which we want to migrate into keycloak with import strategy. But I got problem in step where I want to create credential for new user in keycloak database. I just edited quickstart example. I am trying to set new password for user from input on lines 263-265 [https://github.com/radovans/Keycloak-problem/blob/master/src/main/java/org/keycloak/quickstart/writeable/PropertyFileUserStorageProvider.java](https://github.com/radovans/Keycloak-problem/blob/master/src/main/java/org/keycloak/quickstart/writeable/PropertyFileUserStorageProvider.java) but nothing works. Can you help me please? I am using keycloak 8.0.1. Thank you in advance
