Skip to main content

Set up Trino

Who can do this?

You will probably need your Trino administrator to run these commands - you may not have access yourself.

Currently we only support basic (username and password) authentication for Trino. We recommend creating a separate user for Atlan with read-only access. Please ensure you are using frontend password authentication over HTTPS for clients.

Create user in Trino

To create a new user with password file authentication follow the steps in the official Trino documentation.

Grant read-only access

To grant read-only access to the user created above follow the steps in the official Trino documentation. This includes adding a list of catalogs you wish to crawl to your rules.json file, for example:

{
"catalogs": [
{
"user": "atlan",
"catalog": "postgresql",
"allow": "read-only"
},
{
"user": "atlan",
"catalog": "mysql",
"allow": "read-only"
},
...
]
}