---
title: "List all client secrets"
method: GET
path: "/v1/auth-servers/{authServerId}/clients/{clientId}/secrets"
tags: ["Auth Server Clients"]
---

# List all client secrets

`GET /v1/auth-servers/{authServerId}/clients/{clientId}/secrets`

## Request

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

List all the client secrets for a given client.

## Path parameters

- `authServerId` string, uuid, required
- `clientId` string, required: The OAuth 2.0 client ID

## Query parameters

- `page[size]` integer
- `page[number]` integer
- `sort` string: The `asc` suffix is optional as the default sort order is ascending. The `desc` suffix is used to specify a descending order. Multiple sort attributes may be provided via a comma separated list. JSONPath notation may be used to specify a sub-attribute (eg: 'foo.bar desc').
- `filter` object
  - `id` StringFieldEqualsFilter: Filters on the given string field value by exact match.
    - `eq` string
  - `enabled` boolean: Filter by a boolean value (true/false).

## Response `200`

List of client Secrets

- ClientSecretList
  - `data` ClientSecretItem[], required
    - `id` string, uuid, required: The ID of the client secret
    - `enabled` boolean, required: Specifies whether the secret is enabled. If the secret is not enabled, it will not be usable during authentication phase.
    - `secret` string: The OAuth 2.0 client secret
    - `created_at` string, date-time, required: An ISO-8601 timestamp representation of entity creation date.
    - `updated_at` string, date-time, required: An ISO-8601 timestamp representation of entity update date.
  - `meta` PaginatedMeta, required: returns the pagination information
    - `page` PageMeta, required: Contains pagination query parameters and the total number of objects returned.
      - `number` number, required
      - `size` number, required
      - `total` number, required

## Changes

- **2026-11-02** `7e077577b247`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/kong/apis/konnect-api-go-sdk/changes/v1/auth-servers/:authServerId/clients/:clientId/secrets/get.md)

---

[API](https://skmtc.dev/kong/apis/konnect-api-go-sdk.md) - [All operations](https://skmtc.dev/kong/apis/konnect-api-go-sdk/llms.txt) - [OpenAPI document](https://skmtc.dev/kong/apis/konnect-api-go-sdk/revisions/3b071797f6e4?raw)
