Skip to content

Setup - Shared Cluster

Shared cluster encryption uses Python UDFs and AWS Secrets Manager for PEG credentials. No init script is required.

Overview

  • UDF Type: Python UDF (protect, unprotect, mask)
  • Init Script: Not required
  • AWS: Secrets Manager and IAM role required for credential access
  • Prerequisites: Databricks Unity Catalog access setup, PEG setup, AWS account with Secrets Manager

For complete step-by-step instructions, prerequisites, and usage examples, see the Encryption documentation:

Encryption - Setup Shared Cluster

That guide covers:

  1. Creating the Privacera portal user and generating JWT token
  2. Creating the IAM role and AWS secret
  3. Configuring the Databricks service credential
  4. Enabling PEG URL access in Databricks
  5. Creating the Python UDFs (protect, unprotect, mask)
  6. Configuring Privacera resource and scheme policies
  7. Using the UDFs in SQL