## Path: / admin / realms / {realm} / oauth-clients / {id} / client-secret

Get the secret of the oauth client

Path parameters:
  id - oauth client's id (not clientId!)
  realm - realm name (not id!)

Method Summary
Resource | Description
--- | ---
`POST /admin/realms/{realm}/oauth-clients/{id}/client-secret` | Generate a new client secret for the oauth client
`GET /admin/realms/{realm}/oauth-clients/{id}/client-secret` | Get the secret of the oauth client

Method Detail
HTTP Example:
    POST /admin/realms/{realm}/oauth-clients/{id}/client-secret
Generate a new client secret for the oauth client Output: `CredentialRepresentation` - Produces: application/json Consumes: application/json
HTTP Example:
    GET /admin/realms/{realm}/oauth-clients/{id}/client-secret
Get the secret of the oauth client Output: `CredentialRepresentation` - Produces: application/json