Covers the token-aware default path for connecting to ClickHouse, how the CLI passes the access token to the driver, and when it falls back to a password. Use when a query fails with an authentication error.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Pass Authenticating To Clickhouse?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/samuelemoscatelli-pass-authenticating-to-clickhouse)
---
name: authenticating-to-clickhouse
description: Covers the token-aware default path for connecting to ClickHouse, how the CLI passes the access token to the driver, and when it falls back to a password. Use when a query fails with an authentication error.
---
# Authenticating to ClickHouse
Check `CLICKHOUSE_TOKEN` first, then the connection profile.