How Do Huawei Cloud Services Use KMS to Encrypt Data?
Huawei Cloud services (including OBS, IMS, EVS, and RDS) use the envelope encryption provided by KMS to protect data.
Envelope encryption is an encryption method that enables DEKs to be stored, transmitted, and used in "envelopes" of CMKs. As a result, CMKs do not directly encrypt and decrypt data.
- When you use a Huawei Cloud service to encrypt data, you need to specify a CMK on KMS. The Huawei Cloud service generates a plaintext DEK and a ciphertext DEK. The ciphertext DEK is generated by encrypting the plaintext DEK using the specified CMK. The Huawei Cloud service uses the plaintext DEK to encrypt data and stores the encrypted ciphertext data and ciphertext DEK in the Huawei Cloud service. See the following figure.
Figure 1 How Huawei Cloud uses KMS for encryption
- When users download the data from Huawei Cloud, the service uses the CMK specified by KMS to decrypt the ciphertext DEK, use the decrypted DEK to decrypt data, and then provide the decrypted data for users to download.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot