---
title: "Get a credential provider template"
method: GET
path: "/v2/credential-provider-templates/{credentialProviderTemplateName}"
tags: ["TokenVaultProviders"]
---

# Get a credential provider template

`GET /v2/credential-provider-templates/{credentialProviderTemplateName}`

## Request

- Base URL: `https://global.api.konghq.com`
- URL: `https://global.api.konghq.com/v2/credential-provider-templates/{credentialProviderTemplateName}`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer
  - HTTP bearer
  - HTTP bearer

Retrieves a single vault credential provider template by its name.

## Path parameters

- `credentialProviderTemplateName` '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.

## Response `200`

A credential provider template

- CredentialProviderTemplate: A built-in vault credential provider template describing how to connect to a well-known OAuth provider.
  - `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.
  - `display_name` string, required: Human-readable name of the provider template.
  - `secret_type` 'authorization_code' | 'static_secret', required: The OAuth grant type used to obtain credentials for this provider template.
  - `bearer_methods_supported` CredentialProviderTemplateBearerMethod[], required: Methods supported for presenting the bearer token to the provider.
  - `default_scopes` string[], required: Default OAuth scopes requested for this provider when the provider config does not override them. Provider scopes are not restricted to this set.
  - `pkce_required` boolean: True when the provider's authorization server mandates PKCE (S256). Providers based on such a template must set pkce_enabled; creating or updating them with pkce_enabled=false is rejected.
  - `token_endpoint` string, nullable, required: Default OAuth token endpoint for the provider.
  - `authorization_endpoint` string, nullable, required: Default OAuth authorization endpoint for the provider.
  - `registration_endpoint` string, nullable: Default DCR (RFC 7591) registration endpoint for the provider.

## 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/credential-provider-templates/:credentialProviderTemplateName/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)
