edit-icon download-icon

Global parameter description

Last Updated: Dec 21, 2017

When you are using Alibaba Cloud CLI, you can set temporary settings for global parameters. You can adjust the parameters as needed. Currently, the supported global parameters are as follows:

  • AccessKeyId: Specifies the AccessKeyId in the API request for executing the current command. If no value is specified or the value is null, the default global AccessKeyId is applied.

  • AccessKeySecret: Specifies the AccessKeySecret in the API request for executing the current command. If no value is specified or the value is null, the default global AccessKeySecret is applied.

  • RegionId: Specifies the region corresponding to the API request for executing the current command. If no value is specified, the global RegionId is applied.

  • output: Specifies the display format for executing the current command.

  • profile: Specifies the account used for executing the current command. If the specified account does not exist, the default account is used. In addition, if profile appears together with other global parameters, its priority is lower. For example, if profile appears together with AccessKeyId, AccessKeyId is selected as the AccessKey preferentially.

  • version: Specifies the open API version used for executing the current command. If no value is specified, the latest version installed in the system is used.

    Note: If the parameter directly follows Alibaba Cloud CLI, the current version of Alibaba Cloud CLI is displayed.

Thank you! We've received your feedback.