Judge Whether or Not to Enable Bucket Encryption
Last Updated:2021-09-13
Interface Description
This interface is used to judge whether the server encryption of the bucket is enabled.
Request URI
GET /v1/{bucketName}/?encryption
Parameter Name | Parameter Type | Required | Description | Example Value | Parameter Position |
---|---|---|---|---|---|
bucketName | String | Yes | Bucket name | "bucketName_example" | Path |
Request Body Parameters
Description of Data Structure for Request Body Field
Response Body Parameters
Description of Data Structure for Response Body Field
Parameter name | Parameter type | Description | Example value |
---|---|---|---|
encryptionAlgorithm | String | Server encryption type of the bucket. At present, only the AES256 encryption is supported. | AES256 |
Request Example
GET /v1/bucketName_example/?encryption
Common Request Header
{ }
Response Example
HTTP/1.1 200 OK
<Common response header>
{
"encryptionAlgorithm" : "AES256"
}
Error Code
Refer to the universal error code.