File tree Expand file tree Collapse file tree 2 files changed +24
-0
lines changed Expand file tree Collapse file tree 2 files changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -382,6 +382,18 @@ aliyun ecs DescribeInstances --InstanceIds '["i-12345678912345678123"]' --waiter
382382- ` timeout` : 轮询的超时时间(秒)。
383383- ` interval` : 轮询的间隔时间(秒)。
384384
385+ # # 环境变量支持
386+
387+ 我们支持下面的环境变量:
388+
389+ - ` ALIBABACLOUD_PROFILE` /` ALIBABA_CLOUD_PROFILE` /` ALICLOUD_PROFILE` : 当 ` --profile` 没有指定,CLI 将使用该环境变量。
390+ - ` ALIBABACLOUD_IGNORE_PROFILE=TRUE` : 当这个变量被指定,CLI 忽略配置文件。
391+ - ` ALIBABACLOUD_ACCESS_KEY_ID` /` ALICLOUD_ACCESS_KEY_ID` /` ACCESS_KEY_ID` : 当没有任何 Access Key Id 的指定,CLI 将使用该环境变量。
392+ - ` ALIBABACLOUD_ACCESS_KEY_SECRET` /` ALICLOUD_ACCESS_KEY_SECRET` /` ACCESS_KEY_SECRET` : 当没有任何 Access Key Secret 的指定,CLI 将使用该环境变量。
393+ - ` ALIBABACLOUD_SECURITY_TOKEN` /` ALIBABACLOUD_SECURITY_TOKEN` /` SECURITY_TOKEN` : 当没有任何 Security Token 的指定,CLI 将使用该环境变量。
394+ - ` ALIBABACLOUD_REGION_ID` /` ALICLOUD_REGION_ID` /` REGION` : 当没有任何 RegionId 的指定,CLI 将使用该环境变量。
395+ - ` DEBUG=sdk` :通过该环境变量,CLI 将打印 HTTP 请求信息。这对于排查故障非常有用。
396+
385397# # 获取帮助
386398
387399我们使用 GitHub issues 追踪用户反馈的 bug 和功能请求。请访问以下站点获取帮助:
Original file line number Diff line number Diff line change @@ -307,6 +307,18 @@ The following two options are required when using the `--force` option:
307307When you input some argument like " -PortRange -1/-1" , will cause parse error.In this case, you could assign value like this:
308308--PortRange=-1/-1.
309309
310+ # # Support for environment variables
311+
312+ We supported following environment variables:
313+
314+ - ` ALIBABACLOUD_PROFILE` /` ALIBABA_CLOUD_PROFILE` /` ALICLOUD_PROFILE` : When ` --profile` flag is not specified, CLI use it.
315+ - ` ALIBABACLOUD_IGNORE_PROFILE=TRUE` : When this variable is specified, CLI ignores any configuration files.
316+ - ` ALIBABACLOUD_ACCESS_KEY_ID` /` ALICLOUD_ACCESS_KEY_ID` /` ACCESS_KEY_ID` : When no any specified Access Key Id, CLI use it.
317+ - ` ALIBABACLOUD_ACCESS_KEY_SECRET` /` ALICLOUD_ACCESS_KEY_SECRET` /` ACCESS_KEY_SECRET` : When no any specified Access Key Secret, CLI use it.
318+ - ` ALIBABACLOUD_SECURITY_TOKEN` /` ALIBABACLOUD_SECURITY_TOKEN` /` SECURITY_TOKEN` : When no any specified Security Token, CLI use it.
319+ - ` ALIBABACLOUD_REGION_ID` /` ALICLOUD_REGION_ID` /` REGION` : When no any specified Region Id, CLI use it.
320+ - ` DEBUG=sdk` :Through this variable, CLI display http request information. It helpful for troubleshooting.
321+
310322# # Getting Help
311323
312324We use GitHub issues to track bugs and feature requests for user feedback. Please visit the following site for assistance:
You can’t perform that action at this time.
0 commit comments