Updated on 2023-02-27 GMT+08:00

General Process

This section uses Windows as an example to describe how to use Koo Command Line Interface (KooCLI). The methods for using the CLI in Linux and macOS are similar.

The basic operations of KooCLI include installing the CLI, initializing configurations, and viewing and running cloud service operation commands.

Figure 1 shows the general process of using KooCLI.

Figure 1 General process
  1. Register a HUAWEI ID. Create an Identity and Access Management (IAM) user and grant them permissions. Then obtain an access key. For details, see Step 1: Make Preparations.
  2. To use KooCLI to call open APIs in API Explorer for managing and using cloud resources, download KooCLI for the corresponding OS version. For details, see Overview.
  3. Your identity information is obtained for authentication when you use KooCLI. If you are not using KooCLI in non-configuration mode, configure your authentication information. For details, see Step 3: (Optional) Initialize Configurations.
  4. Use KooCLI to manage and use your cloud service resources. For details, see Step 4: View and Run Cloud Service Operation Commands.