Thanks! But I have to automate it rather than using keycloak admin UI.
On 9 Feb 2018 3:50 am, "Hynek Mlnarik" <hmlnarik(a)redhat.com> wrote:
That's what kcadm is for.
On Thu, Feb 8, 2018 at 12:54 PM, Subodh Joshi <subodhcjoshi82(a)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(a)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.h
>> tml#the-admin-cli
>>
>> On Thu, Feb 8, 2018 at 11:44 AM, Subodh Joshi <subodhcjoshi82(a)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(a)yahoo.co.in
>>>
http://www.trendsinnews.com
>>> _______________________________________________
>>> keycloak-user mailing list
>>> keycloak-user(a)lists.jboss.org
>>>
https://lists.jboss.org/mailman/listinfo/keycloak-user
>>>
>>
>>
>>
>> --
>>
>> --Hynek
>>
>
>
>
> --
> Subodh Chandra Joshi
> subodh1_joshi82(a)yahoo.co.in
>
http://www.trendsinnews.com
>
--
--Hynek