Register a Starburst (Trino) Connection
Register your Trino data
Requirements
For Trino connections
Trino cluster
For Starburst connections
A valid Starburst Enterprise license.
The Starburst cluster must be publicly accessible or have private connectivity configured.
Permissions
The user registering the connection must have the permissions below.
APPLICATION_ADMINImmuta permissionThe Trino user must have the ability to
Create a new file in the Trino
etcdirectoryCreate a new Trino user and grant that new user permissions
Create the system account user
In Trino, create a new system account user with the privileges listed below. Immuta uses this system account continuously to crawl the connection, maintain state between Immuta and Trino, and run identification.
SELECTon all securables you want registered in Immuta as data sources
Register a Starburst (Trino) connection
In Immuta, click Data and select Connections in the navigation menu.
Click the + Add Connection button.
Select the Trino tile.
Enter the cluster connection information:
Display Name: This is the name of your new connection. This name will be used in the API (
connectionKey), in data source names from the host, and on the connections page. Avoid the use of periods (.) or restricted words in your connection name.Hostname: URL of your Trino cluster.
Port: Port configured for Trino.
SSL Mode: Use the dropdown to select the SSL mode to connect to the host.
Enabled: Use this mode if you have
http-server.https.enabled=trueset in your Trino cluster'sconfig.propertiesfile.Disabled: Use this mode for plain, unencrypted connections (e.g., your URL starts with
http://).
Certificate Validation: Use the dropdown to select whether to require certificate validation to connect to the host.
Enabled: Use this to ensure Immuta verifies that the server's certificate was issued by a trusted Certificate Authority (CA).
Disabled: Use this setting if you are using a self-signed certificate to skip certificate validation for the connection.
Opt to configure an HTTP proxy for this connection by selecting Enable and entering the required details:
Proxy Host: Enter the full proxy URL.
Proxy Port: Enter the proxy port.
Proxy Username: Enter the username for the proxy connection.
Proxy Password: Enter the password for the proxy connection.
Select an authentication method from the dropdown menu and enter the authentication information for the Immuta system account you created.
Click Next.
Opt to Enable Object Sync, which will keep your connection objects up to date with your Starburst (Trino) environment.
Select the Start Time for when the first object sync job will run each day.
Select the Run Frequency to determine how frequently object sync will run each day.
Opt to Run Object Sync on Create to create all the data objects for your connection. If you do not select this option, you must run object sync manually or wait for the scheduled object sync for your connection's data objects.
Click Save connection.
If you are using Starburst, move on to the next step.
If you are using open-source Trino, you must download the Immuta Trino plugin and add it to your Trino cluster.
The Immuta Trino plugin version matches the version of the corresponding Trino releases. Navigate to the Immuta GitHub repository for a list of supported Trino versions. Immuta follows Starburst's release cycle, but you can contact your Immuta representative for a specific Trino OSS release.
Download the assets for the release that corresponds to your Trino version.
Enable Immuta on your cluster:
Docker installations
Follow Trino's documentation to install the plugin archive on all nodes in your cluster.
Create the Immuta access control configuration file in the Trino configuration directory:
/etc/trino/immuta-access-control.properties.
Standalone installations
Follow Trino's documentation to install the plugin archive on all nodes in your cluster.
Create the Immuta access control configuration file in the Trino configuration directory:
<trino_install_directory>/etc/immuta-access-control.properties.
On the Next Steps page, copy the provided
immuta-access-control.propertiesfile. It is pre-populated with the required fields:access-control.name: Leave this asimmuta.immuta.endpoint: This is your tenant URL. Use the value provided in the file.immuta.apikey: This is how Immuta applies policy to your users' queries. Use the value provided in the file.immuta.user.admin: This is your Trino system account user. To ensure tables can be properly ingested into Immuta, no Immuta policies will ever apply to this user. Use the value pre-populated in the file to match the username you initially used to create the connection.
Customize any other properties in the file. See the Customize the Immuta Trino plugin page for detailed descriptions of all the properties.
Once your file is customized, add it to your Trino cluster's
etcfolder.Enable the Immuta access control plugin in your Trino cluster's
config.propertiesfile:Ensure you have completed all the connection steps, and click Finish.
Last updated
Was this helpful?

