AAC Docs

aac tenant add-workload

AAC CLI 0.2.8MarkdownDocs 6b7d8268ba78

Add a post-registration workload identity.

Synopsis

aac tenant add-workload
  [-h]
  [--profile PROFILE]
  [--admin-url ADMIN_URL]
  [--data-plane-url DATA_PLANE_URL]
  [--output {json,table}]
  [--tenant-id TENANT_ID]
  --spiffe-id SPIFFE_ID
  [--display-name DISPLAY_NAME]

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 — Tenant to mutate (defaults to the selected profile identity).
--spiffe-id value yes — Canonical concrete workload SPIFFE ID (immutable).
--display-name value no — Optional human-readable label (1-256 characters).

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

The complete SPIFFE ID is immutable and globally reserved. Its lowercase authority must be covered by this tenant's explicit or inherited ACTIVE trust-domain binding. An exact retry is idempotent; changing identity means add a new workload and deactivate the old one.