Skip to main content
Version: v5.7.0

opschain admin authz policies show

Included from Basic tier

Shows one policy — addressed by name or id — with its header facts (name, id, system, description, created_by, created_at), a table of its linked rules (path, the four actions, rule id) and its assignments (user, group or everyone). The rule details come from the rules index, so the output is the same view admin authz rules list would give, filtered to this policy.

No flags of its own; -o, --output json|yaml emits a document with policy, rules and assignments keys.

opschain admin authz policies show ops-team
name: ops-team
id: 0199c1…
system: false
description: Operations access
created_by: admin
created_at: 2026-10-01T03:12:44Z
rules:
PATH READ UPDATE DELETE EXECUTE RULE-ID
/projects/demo yes yes no yes 0199c2…
assignments:
KIND ASSIGNEE ID
group ops 0199c3…

Exit codes: 0 on success, 1 when the policy cannot be resolved or a server call fails, 2 with no server target or a missing argument. The resolution and no-server named errors are on opschain docs cli/admin-authz-policies.

See also​

  • opschain docs cli/admin-authz-policies-assignments — just the assignment table.
  • opschain docs cli/admin-authz-rules-show — one rule on its own.