# Returns a paginated list of client secrets belonging to a client

**Required IAM actions** (all required, on scope `/`): `tenant.subjects.manage`

Endpoint: GET /v1/clients/{clientId}/secrets
Version: 1
Security: authorization_code_with_pkce, client_credentials

## Security:

  - `authorization_code_with_pkce` (unknown)
    oauth2 scopes: services.iam

  - `client_credentials` (unknown)
    oauth2 scopes: services.iam

## Path parameters:

  - `clientId` (string, required)
    The client ID whose secrets to list.

## Query parameters:

  - `page` (integer)
    Requested page

  - `pageSize` (integer)
    Requested pagesize

## Response 200:

  - `200` (unknown)
    OK

## Response 200 fields (application/json):

  - `items` (array, required)
    The items on the current page.

  - `items.id` (integer, required)
    The internal identifier of the secret.

  - `items.type` (string, required)
    The secret type (e.g. SharedSecret).

  - `items.description` (string, required)
    A human-readable description of the secret.

  - `items.expiration` (string)
    The optional expiry date of the secret.

  - `items.created` (string, required)
    The date the secret was created.

  - `metadata` (object, required)
    Pagination details such as current page, page size, and total count.

  - `metadata.page` (integer, required)
    The current page number (1-based).

  - `metadata.pageSize` (integer, required)
    The number of items per page.

  - `metadata.totalCount` (integer, required)
    The total number of items across all pages.

  - `links` (object, required)
    Navigation links for first, previous, next, and last pages.

  - `links.first` (string)
    Link to the first page.

  - `links.previous` (string)
    Link to the previous page, if one exists.

  - `links.next` (string)
    Link to the next page, if one exists.

  - `links.last` (string)
    Link to the last page.

## Response 400:

  - `400` (unknown)
    Bad Request – Invalid or missing parameters

## Response 401:

  - `401` (unknown)
    Unauthorized

## Response 403:

  - `403` (unknown)
    Forbidden

## Response 404:

  - `404` (unknown)
    Not Found

## Response 404 fields (application/json):

  - `type` (string)

  - `title` (string)

  - `status` (integer)

  - `detail` (string)

  - `instance` (string)

  - `errors` (object, required)

