Viewing roles assigned to a container
Written by
Updated at October 17, 2024
Note
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.