I believe I can help you with this one. The Keycloak team can correct me if
I say anything inaccurate.
There is an admin-client bundled with Keycloak that can be used to access
the Keycloak REST API, it's basically a Java REST client for the REST API
that they provide and is documented here:
Basically what you need is an OAuthClient or an Application, and a User and
you can alter information like you requested.
The source is here:
And you can add it as a maven dependency as well:
On Thu, Aug 14, 2014 at 3:08 PM, Kamal Jagadevan <j.kamal(a)ymail.com> wrote:
Are there any alternative ways like command line or shortcuts to update
the Realm settings or user settings in Keycloak.
Though it is possible to set it up through Admin console but trying to
avoid the setup steps through UI.
Looks like during application bootstrap these are few settings like admin
password to be reset & Direct Grant API access being disabled.
Is there any other better way to modify other than UI or directly updating
them in database.
Please let us know. This is critical for our post install steps while
integrating with Keycloak.
keycloak-user mailing list