Setup for Access Management for Starburst Trino¶
Configure¶
Perform following steps to configure Starburst Trino plugin:
-
SSH into the instance where Privacera Manager is installed.
-
Run the following command to navigate to the
/configdirectory and copy yml files: - Modify the following properties:
- Update the
vars.trino.opensource.ymlfile as follows:
- Update the
-
After configuring the properties, start the connector by executing the following instructions:
Run the following command to run the post install steps:
Copy Privacera Trino Plugin Configuration Files¶
- Run the following command to copy required configuration files:
Create entrypoint.sh Script¶
-
Run the following command to create and edit
entrypoint.shfile: -
Add the following content in the
entrypoint.shfile:
Create Dockerfile¶
Create the file in the same directory as the entrypoint.sh script.
-
Run the following command to create and edit the Dockerfile:
-
Add the following content in the Dockerfile:
Enable Trino Application¶
- In PrivaceraCloud, navigate to Settings -> Applications.
- On the Applications screen, select Trino.
- Enter the application Name and Click Save. You can choose any name, for example,
Trino. - Enable the Access Management option with toggle button.
- Click on Save button.
Create Entrypoint.sh Script¶
-
Run the following command to create and edit entrypoint.sh file:
-
Add the following content in the entrypoint.sh file:
Create Dockerfile¶
Create the file in the same location as the entrypoint.sh script.
- Run the following command to create and edit Dockerfile:
-
Obtain the
PCLOUD_PLUGIN_SCRIPT_URL, from PrivaceraCloud → Settings -> API Keys (Click on the icon, and you will see the option to copy the Plugins Setup Script URL). -
Add the following content in the Dockerfile:
Build the Docker Image¶
- Run the following command to build the Docker image:
Bash
Push the Docker Image to the Remote HUB¶
- Use your internal HUB to publish the image.
Create Starburst License File¶
- Create a file containing Starburst license details, add the license key and save the file.
Create a Namespace¶
- Run the following command to create a namespace.
Bash
Create Starburst License Secret¶
- Run the following command to create a secret for Starburst license:
Bash
Create Docker Image Secret¶
- To create an image secret, run the following command:
Verify the Secrets¶
- To verify the secret, run the following command:
Bash
Create .yaml Deployment File to Override the Default Values¶
-
Run the following command to create and edit the values.yaml file:
-
Add the following content in the values.yaml file:
-
(Optional) To enable Data Products use the following values.yaml
Note
Access control for Data Products is supported in Starburst Trino version 468 and later.
values.yaml
Install Starburst Trino on Kubernetes Cluster¶
- Upgrade an existing Helm release or install it if not present using the chart, version, and values file.
- Prev topic: Connector Guide
- Next topic: Advanced Configuration