Access management
To differentiate rights for invited members of a project or service accounts, Cloud Trino uses a unified identity and access management service — IAM. Access can be managed centrally from the VK Cloud management console.
The list of actions available to a project member in the Cloud Trino service is determined by:
- Basic role — defines the default set of rights.
- Individual permissions — are assigned additionally if those included in the basic role are not sufficient.
The Cloud Trino service has no specialized roles.
Roles and permissions can only be assigned by project members with the Project Owner, Superadministrator, and User Administrator (IAM) roles. When granting roles and permissions, follow the principle of least privilege: a user should have only the rights without which their tasks cannot be performed.
The basic roles Project Owner, Superadministrator, and Project Administrator get full access to all Cloud Trino operations; configuring individual permissions is not required.
To differentiate access, the basic role User Administrator (IAM) or Reader can be used with additional permissions. By default, access to Cloud Trino for these basic roles is limited:
User Administrator (IAM): no access.Reader: view-only access to some information about previously created Cloud Trino service instances.
You can grant any permissions, creating a role model that suits you.
All actions are allowed, including creating and deleting Cloud Trino service instances. This access level can be used by a project member with broad competencies and a high degree of responsibility. Creating new service instances can increase infrastructure costs, and deletion is an irreversible operation that can disrupt the operation of the application using your Cloud Trino service instance.
Has almost all permissions except creating and deleting Cloud Trino service instances. Can be used by a project member acting as an infrastructure operator or DevOps engineer to manage already created service instances. It also implies impact on service costs, but only through scaling of already existing service instances.
Has no access to managing service instances and can only view information about them, except for audit data. Also has access to executing SQL queries via the console in the management console; can be used by project members who work with data, for example, developers or analysts.
Cannot modify Cloud Trino service instance parameters and has no access to the console in the management console. Used exclusively for audit: studying logs and event history, as well as viewing the list of users. As a rule, it is suitable for security department employees.