TokenVaultProviders

Get a credential provider template

Changed on

Retrieves a single vault credential provider template by its name.

get/v2/credential-provider-templates/{credentialProviderTemplateName}

Request

  • Base URL
    https://global.api.konghq.com
  • Auth
    • HTTP bearer
    • or HTTP bearer
    • or HTTP bearer
    • or HTTP bearer

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.

Example:github

Name of the vault credential provider template

Response

A credential provider template

CredentialProviderTemplate required

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.

Example response

{
  "name": "github",
  "display_name": "GitHub MCP Server",
  "default_scopes": [
    "repo",
    "read:org"
  ],
  "token_endpoint": "https://github.com/login/oauth/access_token",
  "authorization_endpoint": "https://github.com/login/oauth/authorize"
}

Changes