Update README.md

This commit is contained in:
Zhong Lufan 2021-07-12 18:00:35 +08:00
parent 2249fb5305
commit 6be4395e7b
No known key found for this signature in database
GPG Key ID: 373C08F7FFF84D26
1 changed files with 3 additions and 2 deletions

View File

@ -2,7 +2,8 @@
这是一个非官方的阿里云 OpenAPI Shell SDK方便 Shell 脚本调用阿里云 OpenAPISDK 主要实现了自动计算 OpenAPI 的请求签名。
虽然阿里云官方有 [AliyunCLI](https://github.com/aliyun/aliyun-cli),可以在 Shell 环境下使用阿里云 OpenAPI不过某些 API (比如 SSL 证书) 它并不支持或者说还没来得及支持而且对于存储空间有限的嵌入式设备Shell SDK 明显是更好的选择。
虽然阿里云官方有 [AliyunCLI](https://github.com/aliyun/aliyun-cli),可以在 Shell 环境下使用阿里云 OpenAPI但是并不支持某些 API (比如 SSL 证书)。
对于存储空间有限的嵌入式设备Shell SDK 可能是更好的选择。
理论上支持所有阿里云 RPC OpenAPI暂不支持 RESTful OpenAPI将来可能会支持。
@ -30,7 +31,7 @@ aliapi_rpc(host, http_method, api_version, api_action, api_custom_key[], api_cus
```bash
#!/usr/bin/env bash
# 导出 AliAccessKeyId 和 AliAccessKeySecret
# 设置 AliAccessKeyId 和 AliAccessKeySecret
export AliAccessKeyId="<AliAccessKeyId>"
export AliAccessKeySecret="<AliAccessKeySecret>"