Skip to main content
Version: v5.6.1

opschain admin authz policies assignments

Included from Basic tier

Lists one policy's assignments — the policy is addressed by name or id, and each assignment is a user, a group, or everyone (an assignment carrying neither a username nor a group name). Prints assignments: (none) for an unassigned policy. No flags of its own; -o, --output json|yaml emits the raw assignment resources.

opschain admin authz policies assignments ops-team
assignments:
KIND ASSIGNEE ID
user alice 0199c4…
group ops 0199c5…

Exit codes: 0 on success, 1 when the policy cannot be resolved or the server call fails, 2 for usage. Shared named errors: opschain docs cli/admin-authz-policies.

See also​

  • opschain docs cli/admin-authz-policies-assign — replacing the set this command lists.
  • opschain docs cli/admin-authz-policies-show — the same table alongside the policy's rules.