Encrypt an Object
With the vCloud Director Object Storage Extension S3 API, you can encrypt individual objects for security purposes.
A tenant administrator can force a server-side encryption at vCloud Director organization level using the vCloud Director Object Storage Extension user interface. Encrypting objects using the vCloud Director Object Storage Extension API overrides the encryption configuration that is set using the vCloud Director Object Storage Extension user interface.
This procedure demonstrates how to encrypt an object using SSE-C type of encryption.
This type of encryption requires you to manage your encryption algorithms and master keys. The objects are encrypted as vCloud Director Object Storage Extension writes the data to disks in the data center and decrypts the data when you access it.
When you add an object, you provide the encryption key as part of the request. vCloud Director Object Storage Extension uses the encryption key to apply AES-256 encryption to your data and removes the encryption key from memory.
When you encrypt an object, you encrypt only the object data, not the object metadata.
When you want to retrieve your data, you provide the encryption key as part of your request. vCloud Director Object Storage Extension verifies that the encryption key matches the key used for the object upload. If the keys match, vCloud Director Object Storage Extension decrypts the object and returns the data to you.
Prerequisites
- Verify that you have an SSE-C encryption key. For more information about the encryption key specifics, see https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html.
- Verify that you calculated a base64-encoded 128-bit MD5 digest of the encryption key.