opschain admin service-accounts list
Included from Basic tier
opschain admin service-accounts list [--filter <col=term> ...]
Lists the service accounts — both user-created ones (opschain admin service-accounts create) and the svc-agent-… principals the agent
platform mints — with the same columns as opschain admin users list
(disabled timestamp, local group memberships, user id). The same rows also
appear in admin users list under the service_account provider; this
verb is the provider-narrowed view.
opschain admin service-accounts list
USERNAME PROVIDER ID DISABLED GROUPS
deploy-bot service_account 019a… - deployers
-o json|yaml prints the row documents.
Flags
| Flag | Meaning |
|---|---|
--filter <col=term> | Case-insensitive substring match on a listed column (repeatable; all terms must match). |
--server <url> | Server base URL (default: the active context / OPSCHAIN_SERVER). |
--auth-token <token> | Admin bearer token override (default: your opschain login session, then $OPSCHAIN_ADMIN_TOKEN, then the token stored by opschain admin login). |
Exit codes: 0 on success, 1 when the token is rejected, 2 for the connection usage errors.
See also
opschain docs cli/admin-users-list— the full identity roster.opschain docs cli/admin-service-accounts— the model and the verbs.