[keycloak-user] How to use Keycloak Admin-CLI to enable certain properties

Bartosz Andrzejczak ba.andrzejczak at gmail.com
Thu Feb 15 07:15:02 EST 2018


Hi,

These are all described in ClientRepresenation in the docs: http://www.keycloak.org/docs-api/2.5/rest-api/index.html#_clientrepresentation <http://www.keycloak.org/docs-api/2.5/rest-api/index.html#_clientrepresentation>

They’re in order: 
* For the first do you mean the template? The property is named the same as for client (listed below), just the endpoint is different.
* directAccessGrantsEnabled
* serviceAccountsEnabled
* authorizationServicesEnabled

Url for updating the client is listed here: http://www.keycloak.org/docs-api/2.5/rest-api/index.html#_update_the_client <http://www.keycloak.org/docs-api/2.5/rest-api/index.html#_update_the_client>

Cheers,
Bartek

> On 15 Feb 2018, at 12:55 PM, Subodh Joshi <subodhcjoshi82 at gmail.com> wrote:
> 
> Hi Alll,
> 
> How can enable these properties of a client from admin-cli only?
> 
>   - Enable Direct Access Grants
> 
> 
>   - Direct Access Grants Enabled
> 
> 
>   - Service Accounts Enabled
> 
> 
>   - Authorization Enabled
> 
> -- 
> Subodh Chandra Joshi
> subodh1_joshi82 at yahoo.co.in
> http://www.questioninmind.com
> _______________________________________________
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user



More information about the keycloak-user mailing list