---
title: "List vault providers"
method: GET
path: "/v2/directories/{directoryId}/vault/providers"
tags: ["TokenVaultProviders"]
---

# List vault providers

`GET /v2/directories/{directoryId}/vault/providers`

## Request

- Base URL: `https://global.api.konghq.com`
- URL: `https://global.api.konghq.com/v2/directories/{directoryId}/vault/providers`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer
  - HTTP bearer
  - HTTP bearer

Returns a paginated list of credential providers for a vault-enabled directory.

Results are sorted by name in ascending order by default.

## Path parameters

- `directoryId` string, uuid, required

## Query parameters

- `page` CursorPageParameters
  - `size` integer: The number of items included per page.
  - `after` string: Cursor param specifying the page (i.e. the next page) of data returned.
  - `before` string: Cursor param specifying the page (i.e. the previous page) of data returned.
- `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
  - `name` LegacyStringFieldFilter: Filter using **one** of the following operators: `eq`, `contains`
    - `eq` string: The field exactly matches the provided value.
    - `contains` string: The field contains the provided value.
  - `template_name` object: Filter using **one** of the following operators: `eq`, `oeq`
    - `eq` string: The field exactly matches the provided value.
    - `oeq` string: The field matches any of the provided values.

## Response `200`

List of vault providers

- ListVaultProviders
  - `meta` CursorMeta, required: Pagination metadata.
    - `page` CursorMetaPage, required
      - `first` string, path: URI to the first page
      - `last` string, path: URI to the last page
      - `next` string, path, nullable, required: URI to the next page
      - `previous` string, path, nullable, required: URI to the previous page
      - `size` number, required: Requested page size
  - `data` VaultProvider[], required
    - `id` string, uuid, required: Contains a unique identifier used for this resource.
    - `directory_id` string, uuid, required: Contains a unique identifier used for this resource.
    - `name` string, required
    - `template_name` 'github' | 'slack' | 'static_secret' | 'google' | 'atlassian-rovo' | 'datadog' | 'custom-oauth' | 'miro', required: The static name of the vault provider template to base this provider on (e.g. "github"). For static_secret, provide only name and credential_type ("shared"); the credential is provisioned separately via the vault provider credentials API, and client_id/client_secret are rejected.
    - `bearer_methods_supported` string[], required
    - `enabled` boolean, required: Defines if the provider is enabled or not
    - `client_id` string, nullable
    - `scopes` string[], required
    - `token_endpoint_effective` string, nullable: Resolved token endpoint (provider override or template default).
    - `authorization_endpoint_effective` string, nullable: Resolved authorization endpoint (provider override or template default).
    - `registration_endpoint_effective` string, nullable: Resolved DCR registration endpoint (provider override or template default).
    - `dcr_enabled` boolean, required: True if this provider's OAuth client is obtained via Dynamic Client Registration (RFC 7591) rather than a statically-supplied client_id. When true, client_id is null on this provider -- each principal gets its own dynamically-registered client on first use.
    - `credential_type` string, required
    - `pkce_enabled` boolean, required
    - `refresh_buffer_seconds` integer, required
    - `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.

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found

## Changes

- **2026-11-03** `72599e2b1b09`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/kong/apis/konnect-api-go-sdk/changes/v2/directories/:directoryId/vault/providers/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)
