Updated on 2022-08-16 GMT+08:00

Bucket Default Encryption

OBS enables you to configure default encryption for a bucket. After the configuration, objects uploaded to the bucket are automatically encrypted using the specified KMS key, improving data storage security.

You can enable the default encryption when creating a bucket. For details, see Creating a Bucket. You can also enable or disable the default encryption after a bucket is created.

OBS encrypts only the objects uploaded after the default encryption function is enabled, and does not encrypt those uploaded before. After default encryption is disabled, the encryption status of existing objects keeps unchanged, and you can still manually encrypt objects upon upload.

Enabling Default Encryption for a Bucket

  1. In the bucket list, click the bucket you want to operate. The Overview page of the bucket is displayed.
  2. In the right Basic Configurations area, click Default Encryption. The Default Encryption dialog box is displayed.
  3. Select Enable.

    Key obs/default is selected by default for KMS encryption. You can also click Create KMS Key to switch to the management console of KMS and create customer master keys. Then back to OBS Console and select the key from the drop-down list box for KMS encryption.

  4. Click OK.

Disabling Default Encryption for a Bucket

  1. In the bucket list, click the bucket you want to operate. The Overview page of the bucket is displayed.
  2. In the right Basic Configurations area, click Default Encryption. The Default Encryption dialog box is displayed.
  3. Select Disable.
  4. Click OK.