VK Cloud logo

User Access Management

In Cloud Trino, user access management is performed by adding rules for actions with objects: catalogs, schemas, and tables. These rules define which SQL commands the user can execute. For more information about how rules work and the privileges for executing SQL commands, see the article Access rule specifics.

Adding an access rule

  1. Go to the management console VK Cloud.

  2. Go to Data Platform → Service instances.

  3. Click the name of the required instance.

  4. Go to the Accesses tab.

  5. Click the Add rule button.

  6. Select the access type and set the rule parameters:

    • Name: an arbitrary name for the rule.

    • Users: the list of users the rule applies to. By default, the rule applies to all users.

    • Privileges:

      • None — deny access.
      • All — full access to all operations.
      • Read only — read-only access.
    • Catalogs: the names of catalogs the rule applies to. By default, the rule applies to all catalogs. They are entered manually and must match the catalog names that can be found in the connection settings or using the query:

      SHOW CATALOGS;
  7. Click the Add button.

Viewing access rules

  1. Go to the management console VK Cloud.

  2. Go to Data Platform → Service instances.

  3. Click the name of the required instance.

  4. Go to the Accesses tab.

  5. Review the access rules for catalogs, schemas, and tables.

Changing the order of access rules

Rules are applied in order from top to bottom. Place general rules higher, and more specific rules below the general ones.

  1. Go to the management console VK Cloud.

  2. Go to Data Platform → Service instances.

  3. Click the name of the required instance.

  4. Go to the Accesses tab.

  5. Click the Arrange button.

  6. Change the order of rules for catalogs, schemas, or tables.

  7. Click the Save button.

Editing an access rule

  1. Go to the management console VK Cloud.

  2. Go to Data Platform → Service instances.

  3. Click the name of the required instance.

  4. Go to the Accesses tab.

  5. Click icon to the right of the rule and select Edit.

  6. Edit the rule and click the Save button.

Deleting an access rule

  1. Go to the management console VK Cloud.

  2. Go to Data Platform → Service instances.

  3. Click the name of the required instance.

  4. Go to the Accesses tab.

  5. Click icon to the right of the rule and select Delete.

  6. Confirm the rule deletion.

Was this article helpful?