KEYCLOAK-13958 Document updating and regenerating a client secret with kcadm.sh

This commit is contained in:
Thomas Darimont 2020-04-24 15:31:41 +02:00 committed by Marek Posolda
parent c82e2796b8
commit ac2bf88e5a

View file

@ -872,6 +872,28 @@ For example:
$ kcadm.sh get clients/$CID/client-secret
----
[discrete]
==== Generate a new secret for a specific client
Use a client's ID to construct an endpoint URI, such as [filename]`clients/ID/client-secret`.
For example:
[options="nowrap"]
----
$ kcadm.sh create clients/$CID/client-secret
----
[discrete]
==== Updating the current secret for a specific client
Use a client's ID to construct an endpoint URI, such as [filename]`clients/ID`.
For example:
[options="nowrap"]
----
$ kcadm.sh update clients/$CID -s "secret=newSecret"
----
[discrete]
==== Getting an adapter configuration file (keycloak.json) for a specific client