From 85c1d23389d6d0820e0daed91f5ce73bfcb0ddb1 Mon Sep 17 00:00:00 2001 From: liangshiwei Date: Thu, 16 Jul 2020 16:20:17 +0800 Subject: [PATCH] Update Blob-Storing-Aliyun.md --- docs/zh-Hans/Blob-Storing-Aliyun.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/docs/zh-Hans/Blob-Storing-Aliyun.md b/docs/zh-Hans/Blob-Storing-Aliyun.md index 58b372f5a8..d9b13921a9 100644 --- a/docs/zh-Hans/Blob-Storing-Aliyun.md +++ b/docs/zh-Hans/Blob-Storing-Aliyun.md @@ -43,14 +43,14 @@ Configure(options => ### 选项 -* **AccessKeyId** ([NotNull]string): 云账号AccessKey是访问阿里云API的密钥,具有该账户完全的权限,请您务必妥善保管!强烈建议遵循[阿里云安全最佳实践](https://help.aliyun.com/document_detail/102600.html) ,使用RAM子用户AccessKey来进行API调用。 -* **AccessKeySecret** ([NotNull]string): 同上。 -* **Endpoint** ([NotNull]string): Endpoint表示OSS对外服务的访问域名。[访问域名和数据中心](https://help.aliyun.com/document_detail/31837.html) -* **RegionId** (string): STS服务的接入地址,每个地址的功能都相同,请尽量在同地域进行调用。[接入地址](https://help.aliyun.com/document_detail/66053.html) -* **RoleArn** ([NotNull]string): STS所需角色ARN。[STS临时授权访问OSS](https://help.aliyun.com/document_detail/100624.html) -* **RoleSessionName** ([NotNull]string): 用来标识临时访问凭证的名称,建议使用不同的应用程序用户来区分。 -* **Policy** (string): 在扮演角色的时候额外添加的权限限制。请参见[基于RAM Policy的权限控制](https://help.aliyun.com/document_detail/100680.html)。 -* **DurationSeconds** (int): 设置临时访问凭证的有效期,单位是s,最小为900,最大为3600。 **注**:为空则使用子账号操作OSS。 +* **AccessKeyId** ([NotNull]string): 云账号AccessKey是访问阿里云API的密钥,具有该账户完全的权限,请你务必妥善保管!强烈建议遵循[阿里云安全最佳实践](https://help.aliyun.com/document_detail/102600.html),使用RAM子用户AccessKey来进行API调用. +* **AccessKeySecret** ([NotNull]string): 同上. +* **Endpoint** ([NotNull]string): Endpoint表示OSS对外服务的访问域名. [访问域名和数据中心](https://help.aliyun.com/document_detail/31837.html) +* **RegionId** (string): STS服务的接入地址,每个地址的功能都相同,请尽量在同地域进行调用. [接入地址](https://help.aliyun.com/document_detail/66053.html) +* **RoleArn** ([NotNull]string): STS所需角色ARN. [STS临时授权访问OSS](https://help.aliyun.com/document_detail/100624.html) +* **RoleSessionName** ([NotNull]string): 用来标识临时访问凭证的名称,建议使用不同的应用程序用户来区分. +* **Policy** (string): 在扮演角色的时候额外添加的权限限制. 请参见[基于RAM Policy的权限控制](https://help.aliyun.com/document_detail/100680.html). +* **DurationSeconds** (int): 设置临时访问凭证的有效期,单位是s,最小为900,最大为3600. **注**:为空则使用子账号操作OSS. * **ContainerName** (string): 你可以在aliyun中指定容器名称. 如果没有指定它将使用 `BlogContainerName` 属性定义的BLOB容器的名称(请参阅[BLOB存储文档](Blob-Storing.md)). 请注意Aliyun有一些**命名容器的规则**,容器名称必须是有效的DNS名称,[符合以下命名规则](https://help.aliyun.com/knowledge_detail/39668.html): * 只能包含小写字母、数字和短横线(-) * 必须以小写字母和数字开头和结尾 @@ -68,5 +68,5 @@ Aliyun BLOB提供程序组织BLOB名称并实现一些约定. 默认情况下BLO ## 其他服务 * `AliyunBlobProvider` 是实现Aliyun BLOB存储提供程序的主要服务,如果你想要通过[依赖注入](Dependency-Injection.md)覆盖/替换它(不要替换 `IBlobProvider` 接口,而是替换 `AliyunBlobProvider` 类). -* `IAliyunBlobNameCalculator` 服务用于计算文件路径. 默认实现是 `DefaultAliyunBlobNameCalculator` . 如果你想自定义文件路径计算,可以替换/覆盖它. +* `IAliyunBlobNameCalculator` 服务用于计算文件路径. 默认实现是 `DefaultAliyunBlobNameCalculator`. 如果你想自定义文件路径计算,可以替换/覆盖它. * `IOssClientFactory` 服务用于生成OSS客户端. 默认实现是 `DefaultOssClientFactory` . 如果你想自定义OSS客户端生成,可以替换/覆盖它.