Skip to content

Verify access-control.properties in Trino

This section explains how to verify the access-control.properties configuration file for Trino to ensure access control is configured correctly.

  1. Access the coordinator pod
    Bash
    kubectl exec -it <COORDINATOR_POD_NAME> -n <TRINO_NAMESPACE> -- /bin/bash
    
  2. Check the access-control.properties configuration
    Bash
    cat /etc/trino/access-control.properties
    
    The output should display the configuration with properties such as
    Properties
    1
    2
    3
    access-control.name=privacera-ranger
    ranger.hive.policy.authorization.enabled=true
    ranger.hive.policy.repo.catalog.mapping=privacera_hive:hive,awsdatacatalog
    

Note

Verify that the access-control.name property is set to privacera-ranger to confirm that Privacera Trino Plugin is configured.