[keycloak-user] Admin-Cli Automate the realm/client creation

Subodh Joshi subodhcjoshi82 at gmail.com
Fri Feb 16 06:33:55 EST 2018


Sorry for my mail ,Just got to know client(admin-cli) access-type is by
default *public *so no need to give the secret.
So After below command will work perfectly fine

./kcadm.sh config credentials --server https://<IP ADDRESS>:8666/auth
--realm master --user admin --password admin --client admin-cli

On Fri, Feb 16, 2018 at 4:11 PM, Subodh Joshi <subodhcjoshi82 at gmail.com>
wrote:

> Hi
>
> Is this possible to login through admin-cli without passing client and
> client-secret ?
> Right now i am trying like this
>
> ./kcadm.sh config credentials --server https://<IP ADDRESS>:8666/auth
> --realm master --user admin --password admin --client admin-cli --secret
> 8260c084-dd0a-4ed3-8a56-33186eab5d9d
>
> But after installation of keycloak i want to run the admin-cli to create a
> new realm/usergroup/client so i dont want to go to ui check the secret and
> then fire above command to login through admin-cli .
>
> Is their any way to get the default client admin-cli ,secret without going
> to ui?
> --
> Subodh Chandra Joshi
> subodh1_joshi82 at yahoo.co.in
> http://www.trendsinnews.com
>



-- 
Subodh Chandra Joshi
subodh1_joshi82 at yahoo.co.in
http://www.trendsinnews.com


More information about the keycloak-user mailing list