AAC Docs

aac tenant revoke-trust-domain

AAC CLI 0.2.8MarkdownDocs 6b7d8268ba78

Revoke a trust-domain binding episode by binding id.

Synopsis

aac tenant revoke-trust-domain
  [-h]
  [--profile PROFILE]
  [--admin-url ADMIN_URL]
  [--data-plane-url DATA_PLANE_URL]
  [--output {json,table}]
  [--tenant-id TENANT_ID]
  --binding-id BINDING_ID
  --reason REASON
  [--bootstrap-token BOOTSTRAP_TOKEN]

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.
--tenant-id value no — Anchor tenant (defaults to the profile/AAC_TENANT_ID identity).
--binding-id value yes — The binding episode's immutable id.
--reason value yes — Audited revocation reason (stored on the episode row).
--bootstrap-token value no — Ceremony bootstrap token (onboarding windows). Falls back to $AAC_BOOTSTRAP_TOKEN; without one the cached session rides (tenant-admin role required).

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

Revocation is keyed by the IMMUTABLE binding id (from bind-trust-domain or list-trust-domains), never by the domain — the revoked episode stays as audit history and a later re-bind creates a NEW episode with a higher version. Idempotent: revoking an already-revoked binding returns its current state.