<@U02NVCN5N4U> what format would the data have, or...
# talk-kratos
s
@lively-beard-47107 what format would the data have, or would you create the ids using kratos?
l
I want to always create a user with the same ID, password, email and traits
s
So you can use a custom schema to create Ory ids https://www.ory.sh/docs/guides/customize-identity-schema
l
No, that’s not what I meant, sorry. I want to have a user pre-registered in the system
s
You would usually start without data loaded . So one idea would be to use the data migration tools . You would set up the data is a kratos instance and then migrate them into the new system. This can all be done in GH Actions or in a CI tool @steep-lamp-91158 might have an idea.
s
If you don't start off with an empty database, but instead load some backup/dump you set up previously, Kratos would always have those identities
l
I am trying to do it in another way. I’m trying to run this command https://www.ory.sh/docs/kratos/cli/kratos-validate-identity directly after running the migrations command (in the CI). However, I’m not really sure what the content of
file.json
should really be. Anyone have any idea/example?