PingCAP Authentication
PingCAP secures its APIs with http across 4 declared security schemes, as derived from its OpenAPI definitions.
Security Schemes
Source
Authentication Profile
generated: '2026-08-02'
method: searched
source: https://docs.pingcap.com/tidbcloud/api-overview/
docs: https://docs.pingcap.com/tidbcloud/api/v1beta#section/Authentication
note: None of the published TiDB Cloud OpenAPI/Swagger documents declare a securityDefinitions block; the authentication
contract is documented only in prose in the API overview and in each spec's info.description. This profile is
searched from those docs, not derived from the specs.
summary:
types:
- http
http_schemes:
- digest
api_key_in: []
oauth2_flows: []
spec_declared: false
schemes:
- name: TiDB Cloud organization API key
type: http
scheme: digest
rfc: RFC 7616 (HTTP Digest Access Authentication)
description: Every TiDB Cloud API request is authenticated with HTTP Digest Authentication. The API key public
key acts as the username and the private key acts as the password, so the private key is never transmitted over
the network. Missing or invalid credentials return 401.
credential:
kind: key pair
public_key: username component; visible in the console
private_key: password component; displayed only once at creation and never retrievable again
scope: Organization-wide. The key carries a role (for example org:owner) and an optional project scope, configured
at creation time in Organization Settings > API Keys.
managed_via:
- https://tidbcloud.com/org-settings/api-keys
- openapi/pingcap-tidb-cloud-iam-v1beta1-openapi-original.json (/apikeys CRUD)
example: curl --digest --user 'YOUR_PUBLIC_KEY:YOUR_PRIVATE_KEY' --request GET --url https://serverless.tidbapi.com/v1beta1/clusters
applies_to:
- api.tidbcloud.com
- serverless.tidbapi.com
- dedicated.tidbapi.com
- iam.tidbapi.com
- billing.tidbapi.com
- dataservice.tidbapi.com
sources:
- pingcap-ossinsight-public-api-openapi-original.yaml
- pingcap-tidb-cloud-billing-v1beta1-openapi-original.json
- pingcap-tidb-cloud-data-service-v1beta1-openapi-original.json
- pingcap-tidb-cloud-dedicated-v1beta1-openapi-original.json
- pingcap-tidb-cloud-iam-v1beta1-openapi-original.json
- pingcap-tidb-cloud-starter-essential-v1beta1-openapi-original.json
- pingcap-tidb-cloud-v1beta-openapi-original.json
- pingcap-tidb-cloud-zero-v1alpha1-openapi-original.json
- pingcap-tidb-dm-openapi-original.yaml
- name: TiDB Cloud Data Service Data API key
type: http
scheme: digest
description: A separate key class used to call deployed Data Service endpoints (reading data in a cluster), distinct
from the organization API key used to manage Data Apps and platform resources.
docs: https://docs.pingcap.com/tidbcloud/api/v1beta1/dataservice/
sources:
- openapi/pingcap-tidb-cloud-data-service-v1beta1-openapi-original.json
- name: No authentication (TiDB Cloud Zero)
type: none
description: The TiDB Cloud Zero provisioning endpoint is deliberately unauthenticated and free to call; it returns
a short-lived MySQL-compatible instance with generated credentials that expires in 30 days unless claimed.
sources:
- openapi/pingcap-tidb-cloud-zero-v1alpha1-openapi-original.json
- name: No authentication (OSS Insight Public API)
type: none
description: The OSS Insight public analytics API is read-only and open; no credential is documented.
sources:
- openapi/pingcap-ossinsight-public-api-openapi-original.yaml
database_auth:
note: Data-plane access to a TiDB cluster is MySQL protocol authentication (SQL user + password) over TLS, managed
with ticloud serverless sql-user or in the console. TiDB Cloud console sign-in additionally supports OAuth 2.0
/ SSO, but the management API itself does not accept OAuth tokens.
docs: https://docs.pingcap.com/tidbcloud/tidb-cloud-quickstart/
Work with this as data
Every security artifact here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for security posture
4 MCP tools reach this
find_securityBrowse and filter every security artifact in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
curl "https://apis.io/api/v1/security/pingcap-authentication"
curl "https://apis.io/api/v1/security?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.