Help Center/ Data Encryption Workshop/ Getting Started/ Using a Key to Encrypt Data in OBS
Updated on 2024-11-29 GMT+08:00

Using a Key to Encrypt Data in OBS

  • DEW is a cloud data encryption service. The Key Management Service (KMS) provided by DEW is a secure, reliable, and easy-to-use cloud service that can help you manage and protect keys in a centralized manner.
  • With KMS, you can create keys and use the keys to encrypt files to be uploaded on the OBS server.

Step 1 Preparing the Environment

  1. Log in to the management console. In the navigation pane on the left, choose Storage > Object Storage Service.
  2. On the displayed page, click Create Bucket to store uploaded files.

Step 2 Creating a Key

  1. Log in to the management console. In the navigation pane on the left, choose Security > Data Encryption Workshop.
  2. On the displayed Key Management Service page, click Create Key in the upper right corner.
  3. On the Create Key page, enter the key alias and description, and click OK.

    You can also import your local keys to the KMS console and have them managed by KMS. For details about how to import keys, see Importing Key Materials.

Step 3 Uploading Files to an OBS Bucket

  1. Log in to the management console. In the navigation pane on the left, choose Storage > Object Storage Service. On the displayed page, click a bucket name to go to its details page.
  2. In the Objects tab, click Upload Object.
  3. Select the files to be uploaded, set Encryption Method to SSE-KMS, configure Encryption Key Type, and click Upload.