Setup Guide: Installing Privacera Encryption in Vertica¶
This guide provides detailed, step-by-step instructions to install and configure Privacera Encryption within Vertica.
Step 1: Required Files¶
Download the following files from the Privacera Manager output folder:
| Bash | |
|---|---|
Files to download:
encryption_vertica.shprivacera_vertica_encryption.zip
Transfer these files to the Edge Node of Vertica (or whichever node you are using for installation).
Step 2: Login to the Edge Node¶
SSH into the edge node of the Vertica cluster (as the dbadmin user):
Unzip the encryption package:
| Bash | |
|---|---|
Make the installer script executable:
| Bash | |
|---|---|
Step 3: (Optional) Backup Existing Installation¶
If you want to preserve the current configuration, run:
| Bash | |
|---|---|
Step 4: Run the Installer Script¶
Execute the installation script:
| Bash | |
|---|---|
Verify that the files were copied correctly:
| Bash | |
|---|---|
Step 5: Sync Configs Across Nodes (Multi-node Setup)¶
If your Vertica setup includes multiple nodes, perform the following on each additional node:
- Create required directory:
| Bash | |
|---|---|
- Copy the config files from the edge node:
| Bash | |
|---|---|
Step 6: Create UDX Functions in Vertica¶
Login to the Vertica database:
| Bash | |
|---|---|
Run the following SQL statements:
Step 7: Validate Encryption and Decryption¶
Warning
- This data is fictional and used for demonstration purposes only.
- Any resemblance to real individuals is purely coincidental.
Run the following test query to validate:
| SQL | |
|---|---|
You should see:
- An encrypted email string under
enc_email - The original email restored under
dec_email
- Prev topic: Prerequisites
- Next topic: Troubleshooting