Is it possible to have entire db encrypted ? or a table?
What I read regards only a specific column (varchar).
Is there any documentation regarding this?
1) Vertica provides functions to encrypt and decrypt data using Voltage SecureData.
Some of its advantages:
A. The encrypted values have the same overall format as the unencrypted data, so you do not have to change the data types of table columns that you want to encrypt.
B. The encrypted values have the same sort order as unencrypted data, and encrypted values can be cross-referenced between tables, as long as each instance of the value is encrypted with the same key.
2) Vertica Extension Encryption Package, an opensource Github package, contains encryption functions for Vertica.
3) For HW encryption at rest one can use the Linux Unified Key Setup (LUKS) which is a disk encryption specification created by Clemens Fruhwirth. The reference implementation for LUKS operates on Linux and is based on an enhanced version of cryptsetup, using dm-crypt as the disk encryption backend.
4) See also the answers here:https://forum.vertica.com/discussion/223189/does-vertica-support-storage-level-encryption-for-data
Thank you for documentation.
The answers seems to be:
What about date/numeric datatypes, can they be encrypted?
For Voltage SecureData encryption, the VoltageSecureProtect function only encrypts VARCHAR values. If you need to encrypt other data types, such as DATE or INTEGER, you must cast these values to VARCHAR in your function call.
The same for decrypting, you must cast any non-VARCHAR columns to VARCHAR when calling VoltageSecureAccess.
Examples are shown here: https://www.vertica.com/docs/10.0.x/HTML/Content/Authoring/VoltageIntegration/EncryptingAndDecryptingDataUsingVoltageSecureProtect.htm
See also examples and benchmark for the Github Encryption Package: https://github.com/vertica/Vertica-Extension-Packages
Can't find what you're looking for? Search the Vertica Documentation, Knowledge Base, or Blog for more information.