Help Center/ Object Storage Service/ SDK Reference/ Python/ Data Types/ Response to the Request for Obtaining Bucket Encryption
Updated on 2026-07-31 GMT+08:00

Response to the Request for Obtaining Bucket Encryption

Namespace

obs.GetBucketEncryptionResponse

Parameter Description

Table 1 GetBucketEncryptionResponse

Parameter

Type

Description

encryption

str

Explanation:

Encryption type. SSE-KMS is used for encrypting objects on the server side.

Value range:

kms

Default value:

None

key

str

Explanation:

ID of the KMS master key when SSE-KMS is used

Value range:

Valid value formats are as follows:

  1. regionID:domainID:key/key_id
  2. key_id

In the preceding formats:

Default value:

If this parameter is not specified, the default master key will be used.