-
Notifications
You must be signed in to change notification settings - Fork 2
Deployment and Security
Back to Home. Related: Operations-Memory, Product-and-Features.
The build produces dist/sql.html. Deployment copies it to ClickHouse
user_files and configures HTTP handlers for the SPA and public config.json.
Cluster distribution options and tradeoffs are documented in
docs/ASSET-DISTRIBUTION.md.
- Native/Bearer OAuth for ClickHouse variants with token processors and ephemeral users.
- Basic transport (
username: JWT) throughch-jwt-verifyfor stock ClickHouse. - Direct credential login where configured.
- Multiple IdPs are supported; mappings must avoid username collisions.
config.json is served to browsers and is therefore public. Prefer PKCE public
clients. If an IdP requires a client secret, treat it as exposed and tightly lock
the redirect URI. Never commit rendered deploy/config.json; only
deploy/config.json.example belongs in version control.
Build and upload the HTML without a restart. For ClickHouse config.d changes on
ACM-managed demo clusters, use ACM settings plus cluster push; direct ConfigMap
edits are reconciled away. Verify the effective preprocessed ClickHouse config.
Canonical source: docs/DEPLOYMENT.md,
docs/CLICKHOUSE-OAUTH.md,
docs/CLICKHOUSE-OSS-OAUTH.md, and
SECURITY.md.
Rules source of truth: CLAUDE.md. Deep-detail archive: Claude native memory (indexed in Operations-Memory). Re-verify anything with a date, version, or cluster ID before acting. Distilled 2026-07-12.
Orientation
Working here
Operations
Meta