Identity and access management

Yandex.Cloud users can only perform operations on resources that are allowed by the roles assigned to them. If the user has no roles assigned, all operations are forbidden.

To allow access to resources in the Yandex Virtual Private Cloud service, assign the required roles to the user from the list below. At this time, a role can only be assigned to a parent resource (folder or cloud), and the roles are inherited by nested resources.

Note

For more information about role inheritance, see the section Inheritance of access rights in the Resource Manager documentation.

Assigning roles

To manage cloud networks, the user must have the appropriate permissions in the cloud and folders where operations will be performed.

To grant the user permissions:

  1. In the management console, click and go to Access management.

  2. Select the tab Users and roles.

  3. In the line with the appropriate user name, click Configure roles.

  4. To add a role in a cloud, click Assign role in the Roles for the cloud section.

    To add a role for a folder, select the folder and click Assign role in the Roles for folders section.

  5. Select the desired role from the list. For more information about roles, see Roles in the documentation on the service Yandex Identity and Access Management.

Roles

The list below shows all roles that are considered when verifying access rights in the Virtual Private Cloud service.

Service roles

Service roles are roles that allow access to the resources of a particular service. When Virtual Private Cloud resource access rights are checked, Resource Manager service roles are taken into account.

resource-manager.clouds.member

When a new user is added to the cloud, they are automatically assigned the role of a cloud member: resource-manager.clouds.member.

This role is necessary for accessing cloud resources to everyone except the owners of the cloud and system group allAuthenticatedUsers.

This role alone does not give you the right to perform any operations and is only used in combination with other roles, such as admin, editor, or viewer.

Important

To enable a user to work in the cloud through the Management Console, assign them the resource-manager.clouds.member and viewer roles for the cloud. If you assign only the cloud member role for the cloud and other roles for the nested resources, the user will only be able to perform resource operations using the API or CLI.

resource-manager.clouds.owner

Role resource-manager.clouds.owner is assigned for the cloud and makes the user the owner of the cloud. The owner can perform any operations with the cloud and the resources in it.

Only the cloud owner can assign to or remove from the users the role resource-manager.clouds.owner.

The cloud must have at least one owner. The only owner of the cloud cannot remove this role from oneself.

Primitive roles

You can assign primitive roles to any resource in any service.

viewer

A user with the role viewer can view lists of cloud networks and subnets.

editor

A user with the role editor can perform any operations on cloud networks and subnets: create, delete, and update them.

In addition, the role editor includes all permissions of the role viewer.

admin

A user with the role admin can manage access rights to resources, for example, allow other users to create cloud networks and subnets or view information about them.

In addition, the role admin includes all permissions of the role editor.

See also

Hierarchy of Yandex.Cloud resources