Yandex Cloud
Search
Contact UsTry it for free
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
  • Marketplace
    • Featured
    • Infrastructure & Network
    • Data Platform
    • AI for business
    • Security
    • DevOps tools
    • Serverless
    • Monitoring & Resources
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
    • Price calculator
    • Pricing plans
  • Customer Stories
  • Documentation
  • Blog
© 2026 Direct Cursus Technology L.L.C.
Yandex Resource Manager
  • Getting started
    • All guides
    • Managing labels
      • Creating a folder
      • Updating a folder
      • Deleting a folder
      • Managing access policies
      • Setting up access rights
      • Folder navigation
      • Getting the folder ID
      • Getting notifications from services in a folder
    • Viewing service resource operations
  • Access management
  • Pricing policy
  • Terraform reference
  • Audit Trails events
  • Release notes
  • FAQ

In this article:

  • Assigning an access policy for a folder
  • Viewing the list of access policies assigned for a folder
  • Revoking an access policy assigned for a folder
  1. Step-by-step guides
  2. Folder
  3. Managing access policies

Managing folder access policies

Written by
Yandex Cloud
Updated at February 25, 2026
  • Assigning an access policy for a folder
  • Viewing the list of access policies assigned for a folder
  • Revoking an access policy assigned for a folder

Note

This feature is in the Preview stage. To get access, contact tech support or your account manager.

Access policies are a Yandex Identity and Access Management mechanism that allows you to manage permissions for specific operations with Yandex Cloud resources. Access policies complement the role system for more flexible access management.

A folder’s access policies can be managed by users with the resource-manager.admin or admin role for the folder.

Assigning an access policy for a folderAssigning an access policy for a folder

To assign an access policy for a folder:

CLI
API

If you do not have the Yandex Cloud CLI installed yet, install and initialize it.

  1. Get a list of supported access policies with their IDs.

  2. Run this command:

    yc resource-manager folder bind-access-policy \
      --name <folder_name> \
      --access-policy-template-id=<access_policy_ID>
    

    Where:

    • --name: Name of the folder to assign the policy for. Instead of the folder name, you can provide its ID in the --id parameter.
    • --access-policy-template-id: ID of the access policy to assign for the folder.
  3. Make sure the policy was assigned.

Use the bindAccessPolicy REST API method for the Folder resource or the FolderService/BindAccessPolicy gRPC API call.

The assigned access policy will apply to all resources in the specified folder.

Viewing the list of access policies assigned for a folderViewing the list of access policies assigned for a folder

To view the list of access policies assigned for a folder:

CLI
API

If you do not have the Yandex Cloud CLI installed yet, install and initialize it.

Run the command, specifying the name or ID of the folder for which you want to view the assigned policies:

yc resource-manager folder list-access-policy-bindings <folder_name_or_ID>

Result:

+---------------------------------------+
|      ACCESS POLICY TEMPLATE ID        |
+---------------------------------------+
| iam.denyServiceAccountApiKeysCreation |
+---------------------------------------+

Use the listAccessPolicyBindings REST API method for the Folder resource or the FolderService/ListAccessPolicyBindings gRPC API call.

Revoking an access policy assigned for a folderRevoking an access policy assigned for a folder

To revoke an access policy assigned for a folder:

CLI
API

If you do not have the Yandex Cloud CLI installed yet, install and initialize it.

  1. Get a list of access policy IDs assigned for the folder.

  2. Run this command:

    yc resource-manager folder unbind-access-policy \
      --name <folder_name> \
      --access-policy-template-id=<access_policy_ID>
    

    Where:

    • --name: Name of the folder you want to revoke the policy from. Instead of the folder name, you can provide its ID in the --id parameter.
    • --access-policy-template-id: ID of the access policy you want to revoke from the specified folder.
  3. Make sure the policy has been revoked.

Use the unbindAccessPolicy REST API method for the Folder resource or the FolderService/UnbindAccessPolicy gRPC API call.

The specified access policy will no longer apply to resources in the specified folder.

See alsoSee also

  • Access policies

Was the article helpful?

Previous
Deleting a folder
Next
Setting up access rights
© 2026 Direct Cursus Technology L.L.C.