Yandex Cloud
Search
Contact UsGet started
  • Blog
  • Pricing
  • Documentation
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • ML & AI
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Customer Stories
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
  • Blog
  • Pricing
  • Documentation
Yandex project
© 2025 Yandex.Cloud LLC
Yandex Cloud Desktop
  • Getting started
    • All tutorials
      • Creating a desktop group
      • Updating a desktop group
      • Changing desktop group permissions
      • Deleting a desktop group
    • Viewing logs
    • Viewing operations with resources
  • Access management
  • Pricing policy
  • Cloud Desktop events
  1. Step-by-step tutorials
  2. Desktop groups
  3. Changing desktop group permissions

Changing desktop group access permissions

Written by
Yandex Cloud
Updated at May 13, 2025

Cloud Desktop leverages Yandex Identity and Access Management roles and access control lists (ACL) to manage access. This example shows how access control works in Cloud Desktop.

Management console
Yandex Cloud CLI
API
  1. In the management console, select the folder containing the desktop group.
  2. From the list of services, select Cloud Desktop.
  3. Click next to the desktop group whose access permissions you want to change, then select Configure ACL.
  4. In the ACL editing window that opens, grant or revoke the permissions as you see fit.

If you do not have the Yandex Cloud (CLI) command line interface yet, install and initialize it.

The folder specified when creating the CLI profile is used by default. To change the default folder, use the yc config set folder-id <folder_ID> command. You can specify a different folder using the --folder-name or --folder-id parameter.

You can assign multiple roles using the set-access-bindings command.

Alert

The set-access-binding command rewrites desktop group access permissions. All current group roles will be deleted.

  1. Make sure the desktop group has no roles you want to keep:

    yc desktops group list-access-bindings <desktop_group_name_or_ID>
    
  2. See the description of the CLI command for assigning roles to a desktop group:

    yc desktops group set-access-bindings --help
    
  3. Assign roles:

    yc desktops group set-access-bindings <desktop_group_name_or_ID> \
      --access-binding role=<role>,<subject_type>=<subject_ID> \
      --access-binding role=<role>,<subject_type>=<subject_ID>
    

    Where --access-binding contains access permission settings:

    • role: Role.
    • subject: Type and ID of the entity assigned the role.

    For example, the following command will assign roles to multiple users and a single service account:

    yc desktops group set-access-bindings my-desktop-group \
      --access-binding role=editor,userAccount=gfei8n54hmfh******** \
      --access-binding role=viewer,userAccount=helj89sfj80a******** \
      --access-binding role=editor,serviceAccount=ajel6l0jcb9s********
    

    To assign a role to an entity without rewriting its other roles, use the yc desktops group add-access-bindings command. For example, the following command will assign a role to a service account:

    yc desktops group add-access-bindings \
      --name <desktop_group_name> \
      --role <role> \
      --service-account-name <service_account_name>
    

Use the updateAccessBindings REST API method for the DesktopGroup resource or the DesktopGroupService/UpdateAccessBindings gRPC API call.

Was the article helpful?

Previous
Updating a desktop group
Next
Deleting a desktop group
Yandex project
© 2025 Yandex.Cloud LLC