Server-Side Encryption APIs (SDK for Java)
The following table lists APIs related to server-side encryption:
Method in OBS Java SDK |
Description |
Supported Encryption Type |
---|---|---|
ObsClient.putObject |
Sets the encryption algorithm and key during object upload to enable server-side encryption. |
SSE-KMS SSE-C |
ObsClient.getObject |
Users with the KMS Administrator permission can directly download objects encrypted using KMS. During a download, the backend decrypts KMS-encrypted objects before returning them. (SSE-KMS) Sets the decryption algorithm and key during object download to decrypt the object. (SSE-C) |
SSE-KMS SSE-C |
ObsClient.copyObject |
|
SSE-KMS SSE-C |
ObsClient.getObjectMetadata |
Sets the decryption algorithm and key when obtaining the object metadata to decrypt the object. |
SSE-C |
ObsClient.initiateMultipartUpload |
Sets the encryption algorithm and key when initializing a multipart upload to enable server-side encryption for the final object generated. |
SSE-KMS SSE-C |
ObsClient.uploadPart |
Sets the encryption algorithm and key during multipart upload to enable server-side encryption for parts. |
SSE-C |
ObsClient.copyPart |
|
SSE-C |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.