Skip to content

Privacera Plugin in Trino Open Source

This section covers how you can use Privacera Manager to generate the setup script and Trino custom configuration for SSL to install Privacera Plugin in an open-source Trino environment.

Privacera Trino supports Trino Open Source with the following catalogs.

  • Hive
  • PostgreSQL DB
  • Redshift


Ensure the following prerequisites are met:

  • A working Trino environment
  • Privacera services must be up and running.


  1. SSH to the instance as USER

  2. Run the following commands.

    cd ~/privacera/privacera-manager
    cp config/sample-vars/vars.trino.opensource.yml config/custom-vars/
    vi config/custom-vars/vars.trino.opensource.yml
  3. Edit the following properties. For property details and description, click here.

  4. Run the following commands.

    cd ~/privacera/privacera-manager
    ./ update

    After the update is complete, the setup script ( and Trino custom configurations ( for SSL will be generated at the path, cd ~/privacera/privacera-manager/output/trino-standalone.

  5. In your Trino environment, do the following:

    1. Copy and Both the files should be placed under the same folder.
    2. Add permissions to execute the script.

      chmod +x
    3. Run the script to install the Privacera plugin in your Trino environment.



To learn more about Trino, see Trino User Guide.

Migrating from PrestoSQL to Trino

To migrate your existing policies from PrestoSQL to Trino, refer to the link Migrating Steps.