ClickHouse · Authentication Profile
Clickhouse Authentication
Authentication
ClickHouse secures its APIs with http, apiKey, and oauth2 across 0 declared security schemes, as derived from its OpenAPI definitions.
AnalyticsCloud DatabaseColumn-OrientedDatabaseOLAPOpen-SourceReal-TimeSQL
Methods: http, apiKey, oauth2
Schemes: 0
OAuth flows:
API key in: header, query
Security Schemes
Source
Authentication Profile
generated: '2026-09-05'
method: searched
source: >-
https://clickhouse.com/docs/cloud/manage/openapi and https://clickhouse.com/docs/cloud/manage/api/api-overview,
reconciled against openapi/clickhouse-cloud-api-openapi.json (live spec fetched from
https://api.clickhouse.cloud/v1 on 2026-09-05), openapi/_original/clickhouse-openapi.yml (HTTP interface),
and the MCP discovery documents in well-known/
docs: https://clickhouse.com/docs/cloud/manage/openapi
summary:
types:
- http
- apiKey
- oauth2
api_key_in:
- header
- query
surfaces:
- name: ClickHouse Cloud API
base: https://api.clickhouse.cloud/v1
schemes:
- name: basicAuth
type: http
scheme: basic
username: API key ID
password: API key secret
applies_to: all 148 operations
sources:
- openapi/clickhouse-cloud-api-openapi.json
example: 'curl --user $KEY_ID:$KEY_SECRET https://api.clickhouse.cloud/v1/organizations'
key_management:
issue: ClickHouse Cloud console -> API Keys -> New API Key
roles:
- name: developer
grants: read-only permissions for assigned services
- name: admin
grants: full read and write permissions
expiration: configurable per key
ip_allowlist: optional per key — a single IP or a CIDR range such as 203.0.113.0/24
keys_per_organization: 100
secret_display: >-
Key ID and key secret are shown once at creation and never again; ClickHouse tells you to store them
in a vault.
revocation: >-
Keys can be disabled or deleted from the API Keys page. Deletion is permanent and immediately cuts
off any service using the key.
- name: ClickHouse HTTP interface
base: 'http(s)://<host>:8123 (HTTPS 8443)'
schemes:
- name: basicAuth
type: http
scheme: basic
sources:
- openapi/_original/clickhouse-openapi.yml
- name: clickhouseHeaders
type: apiKey
in: header
parameter: X-ClickHouse-User
companion: X-ClickHouse-Key
sources:
- openapi/_original/clickhouse-openapi.yml
- name: urlParameters
type: apiKey
in: query
parameter: user
companion: password
note: Credentials may also be passed as URL parameters — documented, but the weakest of the three.
docs: https://clickhouse.com/docs/en/interfaces/http
- name: ClickHouse Cloud remote MCP server
base: https://mcp.clickhouse.cloud/mcp
schemes:
- name: oauth2
type: oauth2
flow: authorization_code with PKCE (S256)
issuer: https://mcp.clickhouse.cloud
dynamic_registration: https://mcp.clickhouse.cloud/register
scopes:
- 'mcp:access'
- 'clickstack:access'
- openid
- profile
- email
sources:
- well-known/clickhouse-mcp-oauth-authorization-server.json
- well-known/clickhouse-mcp-oauth-protected-resource.json
detail: scopes/clickhouse-scopes.yml
sso:
google: all plans
microsoft: all plans
saml: Enterprise plan only
mfa: all plans
source: https://clickhouse.com/pricing.md
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
This security artifact
curl "https://apis.io/api/v1/security/clickhouse-authentication"
All security posture
curl "https://apis.io/api/v1/security?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
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. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.