KEYCLOAK-13958 Document updating and regenerating a client secret with kcadm.sh
This commit is contained in:
parent
c82e2796b8
commit
ac2bf88e5a
1 changed files with 22 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue