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
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
    • Yandex Cloud Partner program
  • Blog
  • Pricing
  • Documentation
© 2025 Direct Cursus Technology L.L.C.
Yandex Serverless Integrations
    • All guides
        • Viewing roles assigned for a resource
        • Assigning roles for a resource
        • Revoking roles assigned for a resource
    • Viewing operations with service resources
  • Pricing policy
  • Terraform reference
  • Release notes
  1. Step-by-step guides
  2. EventRouter
  3. Managing permissions to access resources
  4. Viewing roles assigned for a resource

Viewing roles assigned for an EventRouter resource

Written by
Yandex Cloud
Updated at May 5, 2025

Note

An EventRouter resource automatically inherits roles assigned for a folder, cloud, or organization. However, they are not displayed in the list of assigned roles. You can learn more about viewing roles here.

CLI
API

If you do not have the Yandex Cloud CLI 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.

To view roles assigned for an EventRouter resource, run this command:

yc serverless <resource_type> list-access-bindings <resource_name_or_ID>

Example

Viewing roles assigned for a bus:

yc serverless eventrouter bus list-access-bindings epdplu8jn7sr********

Result:

+---------------------------------+----------------+----------------------+
|             ROLE ID             |  SUBJECT TYPE  |      SUBJECT ID      |
+---------------------------------+----------------+----------------------+
| serverless.eventrouter.admin    | serviceAccount | ajef2lm8ahpc******** |
| serverless.eventrouter.auditor  | serviceAccount | rrbilgiqaptv******** |
+---------------------------------+----------------+----------------------+

Use the listAccessBindings REST API method for the relevant resource or the <service>/ListAccessBindings gRPC API call.

For example, for a bus, use the listAccessBindings REST API method for the Bus resource or the BusService/ListAccessBindings gRPC API call.

Was the article helpful?

Previous
Deleting a rule
Next
Assigning roles for a resource
© 2025 Direct Cursus Technology L.L.C.