Yandex Cloud
Documentation
PresentationContact UsTry it for free
© 2026 Direct Cursus Technology L.L.C.
Yandex Serverless Containers
  • Comparing with other Yandex Cloud services
    • All guides
    • Getting an IAM token for a service account using a container
      • Making a container public
      • Making a container private
      • Viewing roles assigned to a container
      • Assigning roles to a container
      • Revoking roles assigned to a container
    • Viewing operations with service resources
  • Access management
  • Tools
  • Pricing policy
  • Terraform reference
  • Monitoring metrics
  • Audit Trails events
  • Public materials
  • Release notes
  • FAQ
  1. Step-by-step guides
  2. Managing container access permissions
  3. Viewing roles assigned to a container

Viewing roles assigned for a container

Written by
Yandex Cloud
Updated at July 1, 2026
View in Markdown

Note

A container automatically inherits roles assigned for a folder, cloud, or organization. However, they do not appear in the list of assigned roles. You can learn more about viewing roles here.

CLI
API

To view roles assigned for a container, run this command:

yc serverless container list-access-bindings --name=<container_name>

Result:

+---------+--------------+-----------------------+
| ROLE ID | SUBJECT TYPE |      SUBJECT ID       |
+---------+--------------+-----------------------+
| editor  | system       | allAuthenticatedUsers |
+---------+--------------+-----------------------+

To view roles assigned for a container, use the listAccessBindings REST API method for the Container resource or the ContainerService/ListAccessBindings gRPC API call.

Was the article helpful?

Previous
Making a container private
Next
Assigning roles to a container
© 2026 Direct Cursus Technology L.L.C.