Privacera Encryption - Setup¶
Enabling Privacera Encryption Gateway (PEG)¶
To enable PEG, copy vars.peg.yml from sample-vars to custom-vars:
To configure PEG Shared Secret, update vars.peg.yml in custom-vars:
| Bash | |
|---|---|
Important
The PEG Shared Secret is a passwprd used by the Privacera Encryption Gateway (PEG) to safely share encryption keys with trusted systems like Databricks or Streamsets. It ensures that only approved systems can access sensitive data for encryption or decryption.
By using this shared secret, PEG adds an extra layer of protection, helping to keep your data secure during transfer between services.
We recommend to set a strong password for peg-server
| Bash | |
|---|---|
Master Key Storage¶
Critical
The Master Key, once set, CANNOT be changed. Choose your storage method and key carefully as this is a permanent configuration decision.
Important
- To ensure secure storage of scheme keys in a database, it is essential to configure a Master Key Storage that determines the storage location of the master key.
- This key is responsible for encrypting scheme keys before storing them and decrypting them when accessed for reading.
- Only one type of storage can be configured at a time to maintain consistency and avoid conflicts.
To configure Master Key Storage, copy vars.peg-master-key-storage.yml from sample-vars to custom-vars:
| Bash | |
|---|---|
Configure master key storage in Database by setting these properties:
Tip
To ensure maximum security, we recommend creating a strong password for the scheme-server.
Configure master key storage in Azure Key Vault by setting these properties:
For creating an Azure Key Vault, follow the instructions at Azure Key Vault Setup.
For advanced configuration, follow the link Click here.
Run the Privacera Manager installation scripts to initiate the installation process and install all the services based on the defined configurations:
-
Log in to your PrivaceraCloud account.
-
Navigate to Settings → Account.
-
In the Encryption Settings section, switch on the toggle button to enable Privacera Encryption on the PrivaceraCloud platform.
-
A configuration window will appear asking you to create a secret in Basic section. Enter a secret of your choice in the Secret field.
Important
We recommend setting a strong password for the secret to ensure maximum security.
-
Click Save to confirm and store the secret.
-
After saving, a new section named Encryption and Masking will appear above the settings section.
- Prev topic: Prerequisites
- Next topic: Advanced Configuration