AAC Docs

aac tenant list

AAC CLI 0.2.8MarkdownDocs 6b7d8268ba78

List registered tenants visible to your credential (your own tenant, with a session; registration-attribute tier).

Synopsis

aac tenant list
  [-h]
  [--profile PROFILE]
  [--admin-url ADMIN_URL]
  [--data-plane-url DATA_PLANE_URL]
  [--output {json,table}]

Arguments

Argument Type Required Default Description
-h, --help flag no — show this help message and exit
--profile value no — Profile to run under (selection: --profile > AAC_PROFILE > reserved baseline main). aac profile list shows what exists.
--admin-url value no — Admin-surface base URL (overrides profile).
--data-plane-url value no — Data-plane-surface base URL (overrides profile).
--output json | table no json Output mode: json (the default) or table.

Output

--output json (the default) prints one JSON document to standard output; --output table prints a readable table instead. Progress notes and diagnostics go to standard error, so the JSON stays parseable.

Exit codes

Code Meaning
0 Success.
1 The control plane or the identity provider rejected the request.
2 Usage error: an invalid flag, value or flag combination.
3 A local configuration or state problem: profile, credential file, cached session or agent.
4 Transport failure: an endpoint could not be reached.

Notes

Answers "which tenant ids exist?" without a 409 probe (ids are the canonical server-allocated tnt-<uuid> form). Attribute tier only — describe serves workloads and key metadata per tenant. Admin surface; a session lists its own tenant's row only; the ceremony bootstrap token reads the full roster.