Getting Started with Common Practices
After completing basic operations such as creating keys, key pairs, and secrets, you can get started with common Data Encryption Workshop (DEW) practices as needed.
Practice |
Description |
|
---|---|---|
Data protection |
You can use online tools on the Key Management Service (KMS) console or call the necessary KMS APIs to directly encrypt or decrypt small-size data with a Customer Master Key (CMK), such as passwords, certificates, or phone numbers. |
|
If you want to encrypt or decrypt large volumes of data, such as pictures, videos, and database files, you can use envelope encryption, which allows you to encrypt and decrypt files without having to transfer a large amount of data over the network. |
||
Encryption Software Development Kit (SDK) can encrypt and decrypt data and file streams. You can easily encrypt and decrypt massive amounts of data simply by calling APIs. If large files and images are sent to KMS through HTTPS for encryption, a large number of network resources will be consumed and the encryption will be slow. You can use the encryption SDK to encrypt and decrypt local files. |
||
If a fault occurs during encryption or decryption in a region, you can use KMS to implement cross-region DR encryption and decryption, ensuring service continuity. |
||
Cloud services use KMS for encryption |
KMS supports one-click encryption for Elastic Cloud Server (ECS). The images and data disks of ECS can be encrypted.
|
|
When you enable server-side encryption in Object Storage Service (OBS):
Server-side encryption with KMS-managed keys (SSE-KMS) can be implemented for the objects to be uploaded. |
||
In case your services require encryption for the data stored on disks, KMS is integrated with Elastic Volume Service (EVS). You can use the key provided by KMS to encrypt the disk. |
||
When creating a private image, you can select KMS encryption and use the key provided by KMS to encrypt the image, ensuring image data security. |
||
After encryption is enabled, disk data will be encrypted and stored on the server when you create a Relational Database Service (RDS) database instance or expand disk capacity. When you download encrypted objects, the encrypted data will be decrypted on the server and displayed in plaintext. |
||
After encryption is enabled, disk data will be encrypted and stored on the server when you create a Document Database Service (DDS) database instance or expand disk capacity. When you download encrypted objects, the encrypted data will be decrypted on the server first. |
||
Secret encryption |
Generally, the secrets used for access are embedded in applications. To update a secret, you need to create a new secret and spend time updating your applications. CSMS is required to manage credentials more conveniently, efficiently, and securely. |
|
You can use Identity and Access Management (IAM) to obtain temporary access keys for ECS to protect AKs and SKs. |
||
You can update the information of a user in a secret. This is the most commonly used secret rotation policy. |
||
You can update the information of two users in a secret. To prevent access failures when changing the user password and updating the secret content, use the multi-user secret rotation policy to ensure high availability of applications. |
||
API calling |
If you receive an error message when calling an API, you can use exponential backoff to retry the request. |
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