authenticating-to-clickhouse
БесплатноБез исполняемых скриптовНе проверенAuthenticate a new or changed service to ClickHouse with the rotating ch-podauth ServiceAccount token instead of a static password. Use when adding a service…
от PostHog★ 41 278 звёзд на GitHubОб этом скилле
Authenticating to ClickHouse
A service authenticates to ClickHouse with a short-lived ServiceAccount token, validated by the ch-podauth bridge, not a static password. The token rotates, so the client reads it on each use. Read posthog/clickhouse/client/AGENTS.md for the full recipe and the traps. This skill is the entry point.
Use it when adding a new service or ClickHouse user, or when building or changing a ClickHouse pool or client by hand. Converting an already-deployed user off a static password is a ClickHouse-team operation and is out of scope.
Do
- Use the token-aware default paths:
sync_execute(..., ch_user=...)for pooled queries, or the asyncget_clientinposthog/temporal/common/clickhouse.pyfor HTTP. Both read the token on each use. - Choose the user shape: deployment-default (the pod's
CLICKHOUSE_USERis the service's own user) or a newClickHouseUserenum member. Wire the username env, or the queries silently authenticate as the pod'sCLICKHOUSE_USER. - Wire the deploy side in the charts repo. The
connect-app-to-clickhouseskill mounts the token and setsCLICKHOUSE_<USER>_PASSWORD_FILE.
Do not
- Pass your own
sync_clienttosync_execute, or build a pool or client by hand, without keeping it token-aware. A native pool must carrycredential_provider; an HTTP or one-shot client resolves the token per call instead. A pool that skips this silently stays on the static password.posthog/clickhouse/client/AGENTS.mdhas both shapes. - Read the credential once at startup, in any language. The token rotates, so read the token file on each connection or request.
Установить authenticating-to-clickhouse в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл authenticating-to-clickhouse?
Authenticate a new or changed service to ClickHouse with the rotating ch-podauth ServiceAccount token instead of a static password. Use when adding a service, sidecar, or container that reads or writes ClickHouse, adding a new ClickHouseUser, or hand-building a ClickHouse pool or client for a custom timeout or setting. Covers the token-aware default path (sync_execute, get_client), the rule that a custom pool must pass credential_provider or it silently stays on the static password, wiring the username so the user does not fall back to the pod's CLICKHOUSE_USER, and the deploy-side companion in the charts repo. Not for converting an already-deployed user off a static password.
Как установить скилл authenticating-to-clickhouse?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл authenticating-to-clickhouse запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
ci-review
The scan that the plugin's GitHub Action runs.
от Anthropicazure-static-web-apps
Helps create, configure, and deploy Azure Static Web Apps using the SWA CLI. Use when deploying static sites to Azure, setting up SWA local development…
от GitHubai-ready
Make any repo AI-ready — analyzes your codebase and generates AGENTS.md, copilot-instructions.md, CI workflows, issue templates, and more. Mines your PR…
от GitHubaws-cdk-python-setup
Setup and initialization guide for developing AWS CDK (Cloud Development Kit) applications in Python. This skill enables users to configure environment…
от GitHub