clickhouse-cloud-management

Manage ClickHouse Cloud users and permissions via SQL over HTTP.

62|10|Updated Dec 4, 2025
One-click install
npx skills add https://github.com/terrylica/cc-skills --skill clickhouse-cloud-management
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: clickhouse-cloud-management
Source: https://github.com/terrylica/cc-skills/tree/main/plugins/devops-tools/skills/clickhouse-cloud-management
Command: npx skills add https://github.com/terrylica/cc-skills --skill clickhouse-cloud-management

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires op, curl, and includes references (resource) components.

What problem does it solve?

It provides SQL/API-based workflows to manage ClickHouse Cloud users, grants, and credentials, including API keys and cloud console patterns.

Core Features & Use Cases

  • User Creation & Grants: Create read-only and write users, grant database permissions.
  • API Key Management: Retrieve/manage cloud API keys for management tasks.
  • Connectivity & Troubleshooting: Verify connectivity and permission configurations.

Quick Start

Use curl-based SQL patterns or cloud API calls to create users, grant access, and test connections.

Frequently Asked Questions about clickhouse-cloud-management

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create and manage users in ClickHouse Cloud?

Create ClickHouse Cloud users by executing CREATE USER SQL commands over HTTP via curl. Grant specific database and table permissions using GRANT statements, revoke access with REVOKE, and verify user configurations with SHOW USERS to audit permissions across your deployment.

What's the difference between API keys and database users in ClickHouse Cloud?

API keys authenticate management operations against the ClickHouse Cloud control plane for infrastructure tasks, while database users authenticate SQL queries directly to databases. Each serves different scopes: API keys for provisioning and cloud console access, database users for query execution and data access control.

How do I troubleshoot authentication and connectivity issues in ClickHouse Cloud?

Test connectivity by executing SQL commands through the HTTP interface on port 443 using curl with proper credentials. Verify user permissions match the intended role, confirm password policies meet ClickHouse requirements, and check GRANT configurations to isolate whether the issue is authentication or authorization.

Can I enforce strong password policies when creating ClickHouse Cloud users?

Yes, ClickHouse Cloud enforces strong password policies automatically when creating users via SQL. The HTTP interface validates password strength requirements during CREATE USER execution, ensuring credentials meet security standards without manual configuration.

What SQL commands does ClickHouse Cloud support for permission management?

ClickHouse Cloud supports CREATE USER to add users, GRANT to assign database and table permissions, DROP USER to remove users, and SHOW USERS to list all users and their roles. Execute these commands over HTTP using curl with SQL syntax patterns specific to your permission model.