import-users.sh - Administer Keycloak accounts from the command-line
See users.csv for example format.
- Create client (eg. keycloak_acct_admin) for this script. Access Type: public.
- Add the realm admin user (eg. realm_admin) to the realm
- In the realm admin user's settings > Client Role > "realm-management", assign it all available roles
- In realm, enable Direct Grant API at Settings > Login
$ ./import-users.sh --import users.csv
$ ./import-users.sh --import users.csv