GetBucketEncryption
更新时间:2023-03-16
接口描述
本接口用于判断Bucket服务端加密是否打开。
请求(Request)
-
请求语法
Get /?encryption HTTP/1.1 Host: <BucketName>.bj.bcebos.com Date: <Date> Authorization: <AuthorizationString> Content-Length: 0
-
请求参数
无
-
请求头域
无
响应(Response)
示例
-
请求示例1
Get /?encryption HTTP/1.1 Host: <BcuketName>.bj.bcebos.com Date: Wed, 06 Apr 2016 06:34:40 GMT Authorization: Authorizationstring Content-Length: 0
-
返回示例1
HTTP/1.1 200 OK x-bce-request-id: 4db2b34d-654d-4d8a-b49b-3049ca786409 Date: Wed, 06 Apr 2016 06:34:40 GMT Content-Length: 11434 Server: BceBos x-bce-server-side-encryption: AES256 { "encryptionAlgorithm":"AES256" }
-
请求示例2
Get /?encryption HTTP/1.1 Host: <BcuketName>.bj.bcebos.com Date: Thu, 16 Mar 2023 07:21:10 GMT Authorization: Authorizationstring Content-Length: 0
-
返回示例2
HTTP/1.1 200 OK x-bce-request-id: 4db2b34d-654d-4d8a-b49b-3049ca786409 Date: Thu, 16 Mar 2023 07:21:11 GMT Content-Length: 11431 Server: BceBos x-bce-server-side-encryption: SM4 { "encryptionAlgorithm":"SM4" }