Export and import users of a realm including credentials #25052
Unanswered
NilsEngelbach
asked this question in
Q&A
Replies: 2 comments
-
Hi, Thanks for your answers. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi, |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to export and import all users of a realm including the credentials (hashed passwords).
According to the documentation there are two possible ways:
kc.sh export/import
The exported user files include the credentials but when i try to import only the user files, it says "that the realm already exists", deletes it and than fails at the import because it is not a complete realm file, but only the users.
I don't want to override/import the whole realm, I only want to import the users. Is there a possibility to achieve this?
kcadm.sh
or the REST APIExporting users does not contain the credentials (hashed passwords).
I could try to import the users exported with
kc.sh export
using the API, but this feels a little bit hacky. Is there another option or trick?Beta Was this translation helpful? Give feedback.
All reactions