Torch Object Storage
Name | Location | Type | Required | Sample value | Note |
encryption | Query | String | Yes | - | Special identifier representing the PutBucketEncryption request. |
Content-MD5 | Header | String | Yes | XrY7u+Ae7tCTyyK7j1rNww== | Base64-encoded MD5 digest of the message body. |
Name | Type | Required | Sample value | Note |
Rule | Array | Yes | - | Bucket encryption rule information. |
ApplyServerSideEncryptionByDefault | Array | Yes | - | Server-side encryption configuration information. |
SSEAlgorithm | String | Yes | AES256 | The default encryption method for server-side encryption is described as follows:
tip
|
KMSDataEncryption | String | No | AES256 | Set the encryption algorithm when using SSE-KMS encryption. If not set, it defaults to the AES256 encryption algorithm. The values are explained as follows:
tip AES-256 algorithm under SSE-KMS is only supported in China (Beijing), China (Shanghai), Asia Pacific (Johor), and Asia Pacific (Jakarta); SM4 algorithm under SSE-KMS is only supported in China (Beijing) and China (Shanghai). |
KMSMasterKeyID | String | No | trn:kms:cn-beijing:200000*****:keyrings/ring-test/keys/key-test | Specify the primary key for SSE-KMS encryption in the format trn:kms:<region>:<accountID>:keyrings/<keyring>/keys/<key>, which is the TRN of the KMS primary key. Parameter details are as follows:
tip
|