对象存储服务 OBS-服务端加密SSE-OBS方式:请求示例:使用默认密钥对上传的对象进行加密

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

请求示例:使用默认密钥对上传的对象进行加密

PUT /encryp1 HTTP/1.1 
User-Agent: curl/7.29.0 
Host: examplebucket.obs.cn-north-4.myhuaweicloud.com
Accept: */* 
Date: Wed, 06 Jun 2018 09:08:21 GMT 
Authorization: OBS H4IPJX0TQTHTHEBQQCEC:f3/7eS6MFbW3JO4+7I5AtyAQENU= 
x-obs-server-side-encryption:AES256 
Content-Length: 5242 
Expect: 100-continue 
 
[5242 Byte object contents]
support.huaweicloud.com/api-obs/obs_04_0173.html