Enable Encryption on a Bucket
- Print
- DarkLight
Enable Encryption on a Bucket
- Print
- DarkLight
Article Summary
Share feedback
Thanks for sharing your feedback!
Server-side encryption (SSE) protects your data by encrypting it before it is stored on disk by Backblaze B2 Cloud Storage. You can enable SSE on a bucket in the Backblaze web UI. Additionally, you can access files that are encrypted with SSE using the same API calls as other Backblaze B2 files.
By default, SSE-B2 is disabled for a new bucket.
After you enable SSE-B2 for a bucket, all of the uploads from the time encryption is enabled are encrypted with SSE-B2 by default, unless you explicitly specify SSE-C encryption for a given file at upload time. Existing files in the bucket are not affected by default bucket encryption settings.
Enable Encryption When You Create a Bucket
- Sign in to your Backblaze account.
- In the left navigation menu under B2 Cloud Storage, click Buckets.
- Click Create a Bucket.
- Enter a name for your bucket.
Bucket names must be at least six characters and globally unique. A message is displayed if your bucket name is already in use. - Select a privacy setting: Private or Public.
- In the Default Encryption field, select Enable.
An encryption key is created that Backblaze manages and uses for you. All files that you upload to this bucket going forward are encrypted by default. - If applicable, enable Object Lock to restrict a file from being modified or deleted for a specified period of time.
- Click Create a Bucket, and copy the value that is in the Endpoint field; you may need this value for other processes.
Enable Encryption on an Existing Bucket
- Sign in to your Backblaze account.
- In the left navigation menu under B2 Cloud Storage, click Buckets.
- For the bucket that you want to encrypt, click Bucket Settings.
- In the Default Encryption field, select Enable.
- Click Update Bucket.
Verify Encrypted Files
- Sign in to your Backblaze account.
- In the left navigation menu under B2 Cloud Storage, click Browse Files.
- Select your encrypted bucket.
- Click the information icon for the file that you want to verify.
If the file is encrypted, a red lock is displayed in the information modal, and the encryption type is listed in the Encryption field.
If the file is not encrypted, the value none appears in the Encryption field.
Was this article helpful?