Getting access rules in Managed Service for Trino
Written by
Updated at January 29, 2026
CLI
gRPC API
If you do not have the Yandex Cloud CLI installed yet, install and initialize it.
By default, the CLI uses the folder specified when creating the profile. To change the default folder, use the yc config set folder-id <folder_ID> command. You can also set a different folder for any specific command using the --folder-name or --folder-id parameter.
To learn what access rules are assigned for a Managed Service for Trino cluster, run this command:
yc managed-trino cluster get-access-control <cluster_name_or_ID>
You can get the cluster ID and name with the list of clusters in the folder.
To learn what access rules are assigned for a Managed Service for Trino cluster, get detailed info on this cluster.