[keycloak-user] Curl Commands to create Realm/User/AdminUsergroup

Hynek Mlnarik hmlnarik at redhat.com
Thu Feb 8 17:20:15 EST 2018


That's what kcadm is for.

On Thu, Feb 8, 2018 at 12:54 PM, Subodh Joshi <subodhcjoshi82 at gmail.com>
wrote:

> Hi Hynek,
>
> Thanks for your reply ,Just want to tell you i dont want to use Admin GUI
> for creating some basic information first time at-least. Actually i will
> want to run this script after the keycloak installation so user dont have
> to do it manually through GUI .
>
> On Thu, Feb 8, 2018 at 5:16 PM, Hynek Mlnarik <hmlnarik at redhat.com> wrote:
>
>> Rather than curl which would be quite tricky, have you looked at kcadm
>> [1]?
>>
>> [1] http://www.keycloak.org/docs/latest/server_admin/index.
>> html#the-admin-cli
>>
>> On Thu, Feb 8, 2018 at 11:44 AM, Subodh Joshi <subodhcjoshi82 at gmail.com>
>> wrote:
>>
>>> Hi ,
>>>
>>> Rather than using UI of keycloak some basic thing i will want to create
>>> dynamically so i am thinking to  create a shell script file for linux
>>> server which will able to do following
>>>
>>>    1. Create realm
>>>    2. Create admin user group
>>>    3. Create Admin Role
>>>
>>> How to automate these feature through CURL ? Can someone please guide me?
>>>
>>> --
>>> Subodh Chandra Joshi
>>> subodh1_joshi82 at yahoo.co.in
>>> http://www.trendsinnews.com
>>> _______________________________________________
>>> keycloak-user mailing list
>>> keycloak-user at lists.jboss.org
>>> https://lists.jboss.org/mailman/listinfo/keycloak-user
>>>
>>
>>
>>
>> --
>>
>> --Hynek
>>
>
>
>
> --
> Subodh Chandra Joshi
> subodh1_joshi82 at yahoo.co.in
> http://www.trendsinnews.com
>



-- 

--Hynek


More information about the keycloak-user mailing list