百度智能云

All Product Document

          Object Storage

          Judge Whether or Not to Enable Bucket Encryption

          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.

          Previous
          Enable Bucket Encryption Switch
          Next
          Event Notification