Setting Object Encryption

Last updated: 2020-07-20 14:13:00

    Introduction

    You can encrypt the objects stored in buckets on the COS console to prevent data leakage. For more information on encryption, see Server-side Encryption Overview. The following information outlines how to configure object encryption:

    • This operation does not support configuring encryption for archived objects. If encryption is needed, please first refer to the information on restoring an archived object. After the restoration is complete, modify the storage type to standard or low frequency before configuring the encryption.
    • As long as you have access permission for an object, whether the object has been encrypted has no effect on your accessing said object.
    • Server-side encryption encrypts only the object data but not its metadata. Server-side encrypted objects can only be accessed with a valid signature and cannot be accessed by anonymous users.
    • When you list the objects in a bucket, all objects, regardless of encryption, will be listed.

    Directions

    1. Log in to the COS Console.
    2. On the left sidebar, click Bucket List.
    3. Select the bucket for which you want to add a bucket policy to enter the bucket details page.
    4. Click File List, locate the object for which you want to configure encryption, and click Details in the Actions column on the right.
    5. Scroll down to find the [Server-Side Encryption] configuration item and select the corresponding encryption method. Currently, the following two encryption methods are supported:
      • SSE-COS: Server-side encryption via key managed by COS. For more information on SSE-COS encryption, see SSE-COS Encryption
      • SSE-KMS: Server-side encryption via key managed by the Tencent Cloud Key Management System (KMS). You can use the default key or create a key. For more information on keys, see Creating a Key. For more information on SSE-KMS, see SSE-KMS Encryption.
    6. Click Save.
    7. If you need to configure batch encryption for multiple objects, you can check multiple objects from the file list and then select [Modify Encryption Method] under [More Actions].
    • If you’re using SSE-KMS encryption for the first time, you need to enable KMS services.
    • Currently, SSE-KMS encryption only supports the Beijing, Shanghai, and Guangzhou regions.

    Was this page helpful?

    Was this page helpful?

    • Not at all
    • Not very helpful
    • Somewhat helpful
    • Very helpful
    • Extremely helpful
    Send Feedback
    Help