Huawei Cloud KooCLI
$ hcloud Official High RiskHuawei Cloud KooCLI (hcloud, alias hcloud-hw) is Huawei Cloud's official MIT Go CLI supporting Linux, macOS, and Windows. It provides --cli-output=json, JMESPath --cli-query filtering, --cli-profile isolation, --cli-region pinning, AK/SK/STS/delegation/SSO auth modes, and result polling.
https://github.com/huaweicloud/huaweicloud-cli/releases hcloud exposes structured Huawei Cloud APIs with --cli-output=json and --cli-query JMESPath filtering directly in a single Go binary.
At a Glance
- Command
- $ hcloud
- FCRS-1.0 Score
- 83/100 (Good)
- Evidence Tier
- Medium Confidence
- CLI vs MCP
- CLI Preferred vs MCP
- Reviewed Date
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Supports --cli-output=json, JMESPath --cli-query projection, offline parameter metadata, and asynchronous result polling.
- Supports
--cli-output=jsonand--cli-queryJMESPath filtering
Supports --cli-profile isolation, temporary credentials, IAM delegation, and SSO, though a global --dry-run flag is not universal.
- Supports AK/SK, temporary STS tokens, delegation, and SSO profiles
Cross-platform Go binary for macOS, Linux, and Windows, though binary name hcloud collides with Hetzner Cloud CLI (hcloud-hw alias recommended).
- Single Go binary across macOS/Linux/Windows; collides with Hetzner
hcloud
Covers broad Huawei Cloud APIs with smart completion, JMESPath filtering, and result polling.
- Direct Huawei Cloud API coverage with polling and filtering
Official huaweicloud/huaweicloud-cli repository actively maintained by Huawei Cloud under MIT.
- Official
huaweicloud/huaweicloud-clirepo (MIT)
Rich built-in service --help metadata and official Huawei Cloud international/CN manuals.
- Built-in API help and official Huawei Cloud KooCLI docs
Security, Auth & Guardrails
Stores encrypted/scoped profiles in ~/.hcloud/ via hcloud configure init, or accepts temporary STS/SSO credentials.
CLI is free (MIT); cloud resource mutations incur Huawei Cloud billing.
# Huawei Cloud KooCLI (hcloud) Agent Rules - Verify `hcloud --version` resolves to Huawei Cloud KooCLI (and alias to `hcloud-hw` if Hetzner `hcloud` is also installed). - Always pin `--cli-profile`, `--cli-region`, and `--cli-output=json`. - Restrict agents to read-only IAM policies unless an operator approves write calls.
Agent-Ready Command Recipes
Safe Read-Only Queries
hcloud configure show --cli-profile=default
Displays the selected profile's auth mode, region, and project settings.
hcloud ECS ListServersDetails --cli-region=cn-north-4 --cli-output=json --cli-query="servers[?status=='ACTIVE']"
Fetches ECS instances and filters active servers via JMESPath.
Strengths for Agents
- + First-class
--cli-output=jsonand JMESPath--cli-querysupport shrink LLM context payloads. - + Rich auth support including AK/SK, temporary credentials, delegation, and SSO.
- + Single Go binary with built-in API metadata and result polling.
Caveats & Pitfalls
- ! Default binary name
hcloudconflicts on$PATHwith Hetzner Cloud CLI (hetzner-hcloud); consider symlinking ashcloud-hw. - ! Lacks a single global
--dry-runflag across all Huawei Cloud services.
Official References
Tested Agent Hosts
Follow Ecosystem Links
Related CLIs in Cloud & Infra
View category hub →CNCF Cloud Native Buildpacks CLI with `--no-color`, `--output json` inspection, and source-to-OCI builds.
Fast Scaleway Go CLI with `-o json`, `-o jsonpath=...`, and `--profile` isolation.
Deploy `compose.yaml` apps to AWS, GCP, or DigitalOcean with `--dry-run` and `--json` support.
Official Yandex Cloud CLI (`yc`) with universal `--format json`, service-account keys, and `--no-user-output`.
CNCF policy engine CLI for evaluating, testing, and formatting Rego policies as JSON.