Access management in Monitoring
Yandex Cloud users can only perform operations on resources within the permissions of the roles assigned to them. With no roles assigned, almost no operations are allowed.
To allow access to Yandex Monitoring resources, assign relevant roles from the list below to a Yandex account, service account, federated or local users, user group, system group, or public group.
Currently, a role can only be assigned for a parent resource, such as a folder or cloud. Roles are inherited by nested resources.
To assign roles for a resource, you need to have one of the following roles for that resource:
adminresource-manager.adminorganization-manager.adminresource-manager.clouds.ownerorganization-manager.organizations.owner
Note
For more information about role inheritance, see Inheriting access permissions in the Yandex Resource Manager guide.
Assigning roles
To assign a role to a user:
- Add the appropriate user, if required.
- In the management console
, on the left, select a cloud. - Navigate to the Access bindings tab.
- Click Configure access.
- In the window that opens, select User accounts.
- Select a user from the list or use the user search option.
- Click
Add role and select a role for the cloud. - Click Save.
Roles this service has
The list below shows all roles used for access control in Yandex Monitoring.
Service roles
monitoring.viewer
The monitoring.viewer role enables downloading metrics and viewing info on metrics, dashboards, and widgets.
Users with this role can:
- View info on metrics and their labels, as well as download metrics.
- View the list of dashboards and widgets, as well as the info on those.
- View notification history.
- View details on Monitoring quotas.
- View info on the relevant folder.
monitoring.editor
The monitoring.editor role enables managing dashboards and widgets, uploading and downloading metrics, and viewing the notification history and quota details.
Users with this role can:
- View info on metrics and their labels, as well as upload and download metrics.
- View lists of dashboards and widgets and info on them, as well as create, modify, and delete them.
- View notification history.
- View details on Monitoring quotas.
- View info on the relevant folder.
This role includes the monitoring.viewer permissions.
monitoring.admin
The monitoring.admin role enables managing dashboards and widgets, uploading and downloading metrics, and viewing the notification history, info on quotas, and folder metadata.
Users with this role can:
- View info on metrics and their labels, as well as upload and download metrics.
- View lists of dashboards and widgets and info on them, as well as create, modify, and delete them.
- View notification history.
- View details on Monitoring quotas.
- View info on the relevant folder.
This role includes the monitoring.editor permissions.
Primitive roles
Primitive roles allow users to perform actions in all Yandex Cloud services.
auditor
The auditor role grants permissions to read the configuration and metadata for any Yandex Cloud resources without access to the data.
For instance, users with this role can:
- View info on a resource.
- View the resource metadata.
- View the list of resource operations.
auditor is the most secure role that does not grant any access to the service data. This role suits the users who need minimum access to Yandex Cloud resources.
viewer
The viewer role grants permissions to read info on any Yandex Cloud resources.
This role includes the auditor permissions.
Unlike auditor, the viewer role provides access to service data in read mode.
editor
The editor role provides permissions to manage any Yandex Cloud resources except assigning roles to other users, transferring organization ownership, deleting an organization, and deleting encryption keys in Key Management Service.
For instance, users with this role can create, modify, and delete resources.
This role includes the viewer permissions.
admin
The admin role enables assigning any roles except resource-manager.clouds.owner and organization-manager.organizations.owner and provides permissions to manage any Yandex Cloud resources except transferring organization ownership and removing an organization.
Before assigning the admin role for an organization, cloud, or billing account, make sure to check out the info on protecting privileged accounts.
This role includes the editor permissions.
Instead of primitive roles, we recommend using service roles with more granular access control, allowing you to implement the least privilege principle.
For more information on primitive roles, see the Yandex Cloud role reference.