Service

List service JWT providers

Changed on

This endpoint is in beta. API contract is stable, and no breaking changes are expected in the future. <br /><br /> Returns the JWT authentication providers configured on the service. A service has at most 5 providers.

Errors:

  • 401: missing, invalid, or disabled API key.
  • 403: caller lacks control-plane:service:manage on the service, or the organization does not have the JWT authentication providers feature (Enterprise tier).
  • 404: service does not exist or is not visible to the caller.
get/v1/organizations/{organizationId}/services/{serviceId}/jwtProviders

Request

  • Base URL
    https://api.clickhouse.cloud
  • Auth
    HTTP basic

Path parameters

organizationId, string uuid required

ID of the organization that owns the service.

serviceId, string uuid required

ID of the service.

Response

Successful response

object required
status, number

HTTP status code.

requestId, string uuid

Unique id assigned to every request. UUIDv4

result, JwtProvider[]

List of results.

Example response

{
  "status": 200,
  "result": [
    {
      "name": "my-oidc-provider",
      "issuer": "https://auth.example.com",
      "audience": "my-clickhouse-service",
      "jwksUrl": "https://auth.example.com/.well-known/jwks.json",
      "rolesClaim": "clickhouse:roles"
    }
  ]
}

Changes