Skip to content

Configuring Custom Properties for Connectors

This guide describes how to configure custom properties for Privacera connectors. These properties allow you to override default connector settings to meet specific environment or operational requirements.

Location for Connector Properties

Each connector type has its own directory structure. Add the custom configuration file at the following path:

Text Only
privacera/privacera-manager/config/custom-vars/connectors/<type>/<instance>/custom/connector-custom.properties

Example of Correct Placement:

Text Only
privacera/privacera-manager/config/custom-vars/connectors/bigquery/instance1/custom/connector-custom.properties

Note: Replace:
<type> with the connector type (e.g., bigquery, dremio, mssql)
<instance> with the connector instance name as defined in your environment.

Steps to Configure

Follow these steps to add and apply custom properties for your Privacera connectors:

1. Connect to the Server

SSH into the server where Privacera Manager is installed.

Bash
ssh <your-server>

2. Navigate to the Config Directory

Bash
cd ~/privacera/privacera-manager/config

3. Create the Required Directory Structure

Create the full path if it doesn't exist:

Bash
mkdir -p custom-vars/connectors/<type>/<instance>/custom

4. Create or Edit the Connector Properties File

Create the file in the correct location:

Bash
vi custom-vars/connectors/<type>/<instance>/custom/connector-custom.properties

Add your custom configuration. For example:

Properties
fs.s3a.endpoint=https://s3.amazonaws.com
fs.s3a.connection.ssl.enabled=true

Repeat this process for each connector as needed, using the appropriate <type> and <instance> values.

Deploy Your Changes

After creating or modifying the custom connector properties, deploy the changes by following the standard Privacera deployment procedure:

1. Generate Helm Charts

Bash
cd ~/privacera/privacera-manager
./privacera-manager.sh setup

2. Apply the Configuration

Bash
./pm_with_helm.sh upgrade

3. Run Post-Installation Tasks (if needed)

Bash
./privacera-manager.sh post-install

Upon completion of these steps, the custom connector properties defined in the respective connector-custom.properties files will be applied to your Privacera deployment.

Comments