对象存储服务 OBS-服务端加密SSE-KMS方式:请求示例:将普通对象拷贝为加密对象,且指定加密密钥

时间:2024-10-21 15:06:43

请求示例:将普通对象拷贝为加密对象,且指定加密密钥

1
2
3
4
5
6
7
8
9
PUT /destobject HTTP/1.1
User-Agent: curl/7.29.0
Host: examplebucket.obs.cn-north-4.myhuaweicloud.com
x-obs-server-side-encryption:kms
x-obs-server-side-encryption-kms-key-id: cn-north-4:783fc6652cf246c096ea836694f71855:key/522d6070-5ad3-4765-9737-9312ddc72cdb
Accept: */*
Date: Wed, 06 Jun 2018 09:10:29 GMT
Authorization: OBS H4IPJX0TQTHTHEBQQCEC:SH3uTrElaGWarVI1uTq325kTVCI=
x-obs-copy-source: /bucket/srcobject1
support.huaweicloud.com/api-obs/obs_04_0106.html