Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update 公共请求头部.md #15836

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,13 @@

| Header 名称 | 描述 | 类型 | 是否必选 |
| ---------------------------- | -------------------------------------------- | ------ | ------------------------------------------------------------ |
| x-cos-server-side-encryption | 服务端加密算法,使用 SSE-COS 时指定为:AES256 | string | 上传或复制对象(包括简单上传/复制与分块上传/复制)时必选,下载对象时不能指定此头部 |
| x-cos-server-side-encryption | 服务端加密算法,使用 SSE-COS 时指定为:AES256 | string | 上传或复制对象(包括简单上传/复制与分块上传/复制)时携带此头部则使用SSE-COS加密,不携带此头部会以存储桶加密配置来加密。下载对象时不能指定此头部 |

#### SSE-KMS

| Header 名称 | 描述 | 类型 | 是否必选 |
| ------------------------------------------- | ------------------------------------------------------------ | ------ | ------------------------------------------------------------ |
| x-cos-server-side-encryption | 服务端加密算法,使用 SSE-KMS 时指定为:cos/kms | string | 上传或复制对象(包括简单上传/复制与分块上传/复制)时必选,下载对象时不能指定此头部 |
| x-cos-server-side-encryption | 服务端加密算法,使用 SSE-KMS 时指定为:cos/kms | string | 上传或复制对象(包括简单上传/复制与分块上传/复制)时携带此头部则使用SSE-KMS加密,不携带此头部会以存储桶加密配置来加密。下载对象时不能指定此头部 |
| x-cos-server-side-encryption-cos-kms-key-id | 当 x-cos-server-side-encryption 值为 cos/kms 时,用于指定 KMS 的用户主密钥 CMK,如不指定,则使用 COS 默认创建的 CMK,更多详细信息可参见 [SSE-KMS 加密](https://cloud.tencent.com/document/product/436/18145#sse-kms-.E5.8A.A0.E5.AF.86) | string | 否 |
| x-cos-server-side-encryption-context | 当 x-cos-server-side-encryption 值为 cos/kms 时,用于指定加密上下文,值为 JSON 格式加密上下文键值对的 Base64 编码。<br>例如`eyJhIjoiYXNkZmEiLCJiIjoiMTIzMzIxIn0=` | string | 否 |

Expand Down