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 Serverless Containers
  • Comparison 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
  • Pricing policy
  • Terraform reference
  • Audit Trails events
  • Release notes
  • FAQ
  1. Step-by-step guides
  2. Managing rights to access a container
  3. Viewing roles assigned to a container

Viewing roles assigned to a container

Written by
Yandex Cloud
Updated at October 17, 2024

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 container roles, run this command:

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

Result:

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

To view container roles, 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
Yandex project
© 2025 Yandex.Cloud LLC