Cloud CLI options are system parameters that can be added to commands for calling APIs. The following table describes the options supported by Cloud CLI. Any option except help, debug, dryrun, cli-username, cli-password, cli-domain, cli-output, cli-query, cli-output-num, cli-jsonInput, and cli-endpoint can be set in profiles. When a command is executed, the value of a parameter in the command takes precedence over that in the profile.
cli-agency-domain-name: Account name of a delegating party. This parameter must be used together with cli-agency-name.
cli-agency-domain-id: Account ID of the delegating party. This parameter must be used together with cli-agency-name.
cli-agency-name: Agency name. It must be used together with cli-agency-domain-id or cli-agency-domain-name.
cli-source-profile: The profile that stores the authentication information of the delegated party. The value of this option cannot be the current profile.
These options are used to call cloud service APIs using an agency in non-configuration mode.
ID of the account to which the IAM user belongs. This option is required when global service APIs are called in AK/SK authentication mode. In this case, Cloud CLI automatically obtains this parameter from your authentication information.
Name of a Cloud CLI profile. A profile stores a group of common information (such as the AK/SK, region, and project ID) required for calling cloud service APIs.
If a profile contains different authentication parameters (such as AK/SK and token), the mode specified by cli-mode is used. Use --cli-mode in a command to specify the authentication mode for a profile.
Specifies a JSON file to pass API parameters. If a cloud service API has too many parameters, you can define the parameters in a JSON file. Cloud CLI then parses the parameters in the file.
Specifies whether to skip HTTPS certificate verification (not recommended). The value can be true or false. The default value is false. Skipping certificate verification has security risks. If you set this parameter to true, Cloud CLI will display a message asking for your confirmation.