KooCLI - Huawei Cloud Command Line Interface

V1.0 – November 2025

Version Author Description
V1.0 – 2025-11-24 Raul Myron 50054635 Initial Version
V1.0 – 2025-11-24 Gabriel Gutierrez 00817435 Document Review

Introduction

This document presents the procedures for installing and configuring KooCLI (Huawei Cloud CLI), the official command-line tool for managing Huawei Cloud resources.

Installation on Ubuntu/Linux

Refer to the Official Documentation for more details.

Installation Steps

# Download and install
sudo curl -sSL http://ap-southeast-3-hwcloudcli.obs.ap-southeast-3.myhuaweicloud.com/cli/latest/hcloud_install.sh -o ./hcloud_install.sh && sudo bash ./hcloud_install.sh

# Verify installation
hcloud version

# Start configuration
hcloud configure show

Configuration

During configuration, you will be prompted for:

  • Access Key (AK): Your access key
  • Secret Key (SK): Your secret key
  • Region: Huawei Cloud region (for LA-Sao Paulo1: sa-brazil-1)

To improve connection stability:

# Recommended configuration
hcloud configure set --connect-timeout=60 --read-timeout=120 --retry-count=3

# Alternative for more unstable connections
hcloud configure set --connect-timeout=90 --read-timeout=180 --retry-count=5

Installation on Windows

Download

Environment Variables Configuration

  1. Extract the file to a directory (e.g., C:\huaweicloud-cli)
  2. Add the path to environment variables:
    • Go to System SettingsEnvironment Variables
    • Add the path to the user’s Path variable

Verification and Configuration

# Verify installation
hcloud version

# Start configuration
hcloud configure show

# Configure timeouts
hcloud configure set --connect-timeout=60 --read-timeout=120 --retry-count=3

Installation Verification

# Download service metadata
hcloud meta download

# List all available services
hcloud

Available Services

KooCLI supports over 100 Huawei Cloud services, including:

         
AAD CSS DSC IdentityCenterStore ROMA
AOM CTS DWS Image RabbitMQ
AOS CloudBuild DataArtsStudio IoTDA RocketMQ
APIG CloudRTC ECS IoTDM SCM
AS CloudTest EIP KMS SFSTurbo
Anti-DDoS CodeArtsArtifact ELB KPS SIS
BMS CodeArtsBuild EPS Kafka SMN
BSSINTL CodeArtsCheck ER LTS SMS
CBH CodeArtsDeploy EVS Live STS
CBR CodeArtsPipeline EdgeSec MPC SWR
CBS CodeCheck FRS MRS SecMaster
CC CodeHub FunctionGraph Meeting ServiceStage
CCE Config GA ModelArts TMS
CCI DAS GES Moderation UGO
CCM DBSS GaussDB NAT VOD
CDM DC GaussDBforNoSQL OCR VPC
CDN DCS GaussDBforopenGauss OMS VPCEP
CES DDM HSS Organizations VPN
CFW DDS IAM ProjectMan WAF
COC DIS IMS RAM Workspace
CPTS DLI IdentityCenter RDS  
CSE DNS IdentityCenterOIDC RGC  
CSMS DRS IdentityCenterSCIM RMS  

For a complete list of services, run hcloud after installation.

Next Steps

  • Explore documentation for each service: hcloud [service] help
  • Configure multiple profiles for different accounts/regions
  • Integrate with automation scripts

References