Dedicated Trino
Permission model for a DataOS-managed Dedicated Trino deployment, where access control lives on each depot's underlying data source instead of Trino SQL grants.
Dedicated Trino is the Trino deployment that DataOS (poros) provisions automatically for a Vulcan domain resource when its manifest includes a spec.trino: block. This document defines the permission model for Dedicated Trino, where access control lives entirely at the underlying data source level instead of through Trino SQL grants.
How Dedicated Trino works
When spec.trino: is present in the domain resource, poros:
Deploys a Trino coordinator as a Kubernetes service (
<name>-trino) and a worker deployment (<name>-trino-workers, default 2 replicas).Reads each depot listed in
spec.depotsand generates a Trino catalog.propertiesfile from the depot definition and its DataOS secrets.Sets Vulcan's gateway connection to the internal coordinator service with
method: no-authandDATAOS_VULCAN_MANAGED_TRINO: "true".Runs a
trino-readyinit container that polls until the coordinator is active and all expected workers have joined.
There are no Trino SQL grants to configure. The Vulcan process connects to Trino over the internal Kubernetes network without authentication. Access control is entirely at the underlying data source level, through the credentials embedded in each DataOS depot secret.
Permission model
For each depot, the credentials in the depot secret become connector-level properties in the generated .properties file. Whatever the credential user is permitted to do on the underlying system is what Trino can do through that catalog.
The permissions required per depot type mirror those documented in the engine-specific permission guides:
lakehouse
iceberg (REST)
lh_access_token, storage credentials
This document (DataOS-specific)
bigquery
bigquery
gcp_json_key
Governed by IAM roles on the service account in the depot secret
delta_lake
delta_lake
aws_access_key, aws_secret_key
AWS IAM (S3 + Glue/Hive Metastore)
DataOS Lakehouse depot (Iceberg REST catalog)
The Lakehouse depot is the only depot type that is DataOS-native and has no external permission guide. The access model is described here.
How poros configures the Iceberg catalog
Poros generates a .properties file like this:
All values come from the depot spec and depot secret. No manual configuration is required.
Depot secret fields
The Lakehouse depot secret must contain:
lh_access_token
DataOS API key used to authenticate with the Iceberg REST catalog. This is the primary access credential.
aws_access_key
AWS access key ID (S3-backed lakehouse only)
aws_secret_key
AWS secret access key (S3-backed lakehouse only)
gcp_json_key
Base64-encoded GCP service account JSON key (GCS-backed lakehouse only)
az_account_name
Azure storage account name (ADLS-backed lakehouse only)
az_account_key
Azure storage account access key (ADLS-backed lakehouse only)
What the lh_access_token user needs in DataOS
The lh_access_token is a DataOS API key. Access to namespaces and tables within the Iceberg REST catalog is governed by DataOS policies, not SQL grants.
The API key holder must have:
Read access on the source namespace(s)
SELECT on source tables
Read + Write access on the Vulcan target namespace
Creating tables, views, writing data
Read + Write access on the state namespace
Vulcan internal metadata (_snapshots, _environments, etc.)
What the storage credentials need (S3 example)
For S3-backed lakehouse, the IAM user or role identified by aws_access_key / aws_secret_key needs:
For read-only (semantic-only) access on source namespaces, s3:GetObject and s3:ListBucket are sufficient.
PostgreSQL depot
Poros generates:
The username and password come from the depot secret. The permissions required on the PostgreSQL side are identical to those documented in PostgreSQL minimum permissions. Apply the appropriate secret category (postgres-semantic-readonly, postgres-single-db-full, or postgres-cross-db-full) to the depot credential user on the PostgreSQL server.
Snowflake depot
Poros generates a Snowflake JDBC connector catalog with credentials from the depot secret (username / password or key-pair authentication). The permissions required on the Snowflake side are identical to those documented in Snowflake minimum permissions. Apply the appropriate role and privilege set to the Snowflake user referenced in the depot secret.
BigQuery depot
Poros generates:
The gcp_json_key from the depot secret is written as a JSON key file and mounted into the Trino container. BigQuery access is governed by IAM roles on the service account in the depot secret, not by Trino-level grants. The service account referenced in the JSON key must have roles/bigquery.jobUser at the project level and the appropriate dataViewer or dataEditor role on the relevant datasets.
Databricks depot
Poros generates:
The token comes from the depot secret. The permissions required on the Databricks Unity Catalog side are identical to those documented in Databricks minimum permissions. The token's service principal must have the appropriate USAGE, SELECT, CREATE, MODIFY, and DROP grants on the relevant catalogs and schemas.
Delta Lake depot (self-hosted)
Poros generates:
The AWS credentials come from the depot secret. The IAM user or role needs:
S3 read/write on the Delta Lake bucket paths.
If using AWS Glue as metastore:
glue:GetDatabase,glue:GetTable,glue:CreateTable,glue:UpdateTable, andglue:DeleteTableon the relevant databases.If using a Hive Metastore: the Thrift endpoint must be reachable from the Trino worker pods with no additional authentication, or with credentials configured through
overideCatalogConfig.
Domain resource example
When poros processes this manifest, it creates:
A
<name>-trinocoordinator service on port 8080.A
<name>-trino-workersdeployment with 2 replicas.One catalog
.propertiesfile per depot:my-lakehouse-depot.propertiesandmy-postgres-depot.properties.VULCAN__GATEWAYS__DEFAULT__CONNECTION__HOST: <name>-trino(no authentication).
Overriding connector properties
Use spec.trino.overideCatalogConfig to add or override properties in a generated catalog file, for example to set a session property or tune connection-pool settings:
The name field must match the depot name, not the full dataos://... reference. Properties listed here are appended after the auto-generated connector properties.
Custom catalog secrets (full catalog config files)
To register a Trino catalog that is not backed by a DataOS depot, for example a custom connector or a catalog with complex configuration, use spec.trino.catalog.config:
Each secret listed here is projected into /etc/dataos/trino-catalog/ and mounted as a full .properties file. The file name is the secret name (the last segment after :). The secret must contain a key named after the catalog (for example, my-custom-catalog) whose value is the full Trino catalog .properties content.
Notes
Vulcan always runs in
DEV_ONLYmode for Dedicated Trino;vde: trueis blocked. Physical tables use a__novdesuffix, and a virtual layer view maps the original model name to that table.Poros sets
DATAOS_VULCAN_MANAGED_TRINO: "true"automatically whenspec.trino:is present. This enables thetrino-readyinit container, which polls the coordinator until it is active and all expected workers have joined. The expected worker count comes fromspec.trino.workers.replicas(default: 2).The Trino cluster is co-located in the same Kubernetes namespace as the Vulcan API and workflow pods. All coordinator-to-worker and Vulcan-to-coordinator communication is over internal cluster DNS (
<name>-trino.<namespace>.svc.cluster.local). No external network rules or firewall openings are needed for internal Trino traffic.The coordinator service and worker deployment names are deterministic:
<domain-resource-name>-trinoand<domain-resource-name>-trino-workers. Ensure these names do not conflict with existing Kubernetes services in the target namespace.
Related resources
Permission model for Vulcan domains that connect to a client-managed Trino cluster instead of Dedicated Trino
Permissions for the postgres depot type
Permissions for the snowflake depot type
Permissions for the databricks depot type
Last updated
Was this helpful?