Access management
In this section, you'll learn:
About access management
All transactions in Yandex.Cloud are checked by the Identity and Access Management service. If a subject doesn't have the required permission, the service returns an error.
To grant permission to a resource, assign roles for this resource to the subject that will perform operations. Roles can be assigned to a Yandex account, service account, or system group. For more information, see How access management works in Yandex.Cloud.
Only users with the admin
or resource-manager.clouds.owner
role for a resource can assign roles for this resource.
What resources you can assign roles to.
As with other services, you can assign roles for clouds, folder, and service accounts. The roles assigned for clouds and folders also apply to nested resources.
What roles exist in the service
The diagram shows which roles are available in the service and how they inherit each other's permissions. For example, the editor
role includes all viewer
role permissions. A description of each role is given under the diagram.
Service roles
Role | Permissions |
---|---|
compute.admin |
Gives rights to manage virtual machines and instance groups. |
compute.disks.user |
Lets you use disks to create new resources, such as virtual machines. |
compute.images.user |
Lets you use images to create new resources, such as virtual machines. |
iam.serviceAccounts.user |
Verifies the right to use the service account. This role is required to perform operations with instance groups. If you enter a service account in the request, IAM checks that you have rights to use this account. |
resource-manager.clouds.member |
The role required to access resources in the cloud for all users except cloud owners and service accounts. |
resource-manager.clouds.owner |
Grants you full access to a cloud and the resources in it. You can only assign this role for a cloud. |
For more information about service roles, see Roles in the Yandex Identity and Access Management documentation.
Primitive roles
Role | Permissions |
---|---|
admin |
Lets you manage your resources and access to them. |
editor |
Lets you manage resources (create, edit, and delete). |
viewer |
Lets you only view information about resources. |