Auth Server Clients

Get a client secret

Changed on

Get a specific client secret for a given client.

get/v1/auth-servers/{authServerId}/clients/{clientId}/secrets/{clientSecretId}

Request

  • Base URL: https://global.api.konghq.com
  • URL: https://global.api.konghq.com/v1/auth-servers/{authServerId}/clients/{clientId}/secrets/{clientSecretId}
  • Auth: one of:
    • HTTP bearer
    • HTTP bearer
    • HTTP bearer
    • HTTP bearer

Response

A Client Secret item

idstring uuid required

The ID of the client secret

enabledboolean required

Specifies whether the secret is enabled. If the secret is not enabled, it will not be usable during authentication phase.

secretstring

The OAuth 2.0 client secret

created_atstring date-time required

An ISO-8601 timestamp representation of entity creation date.

updated_atstring date-time required

An ISO-8601 timestamp representation of entity update date.

Example response

{
  "secret": "YAzsyUlNZ5gNGeKS9H3VAdxVPzhPo4ae",
  "created_at": "2022-11-04T20:10:06.927Z",
  "updated_at": "2022-11-04T20:10:06.927Z"
}

Changes