we have some admin REST API documented and the operations you mentioned
should be available there:
Maybe easiest solution for you would be to use our admin-client, which
allows to easily invoke REST endpoints as java methods and handles
obtain the accessToken for admin authentication too. If your
command-line has Java available, you can just run simple Java program,
which will use admin-client to invoke REST endpoints. The example for
admin client is here:
On 5.5.2015 17:30, Eugene Chow wrote:
First of all, a big thank you to the developers for an SSO that's simple
to use and a beautiful interface to boot.
I'm running Keycloak for an app in development. For UAT purposes, I need
to batch import accounts from a CSV file via the command-line. I'm
looking for the REST API to login as admin, get token, create new
account, update new acct's password, and then logout. I haven't found
any documentation on this.
If the REST API is not equipped for this purpose, what would be the
correct method to bulk import users?
keycloak-user mailing list