helpful-laptop-78221
07/06/2023, 7:45 AMchilly-king-10285
07/06/2023, 7:45 AMchilly-king-10285
07/06/2023, 7:45 AMjson { "schema_id": "<preset://email>", "traits": { "email": "[[email protected]](<https://www.ory.sh/cdn-cgi/l/email-protection>)" }, "credentials": { "password": { "config": { "password": "the-password" } } } }
In this example, the password the-password
will be hashed and stored in the database. The identity will be able to sign in using [[email protected]](<https://www.ory.sh/cdn-cgi/l/email-protection>)
and the-password
as credentials. Please note that password imports don't use any password validation. Users have to update their password according to the policy themselves using self-service flows. For more information, you can refer to the [Ory documentation](https://www.ory.sh/docs/kratos/manage-identities/import-user-accounts-identities).