AAC Docs

aac profile list

AAC CLI 0.2.11MarkdownDocs a4b073409b4b

List all profiles (selected/binding/pending state).

Synopsis

aac profile list [-h] [--output {json,table}]

Arguments

Argument Type Required Default Description
-h, --help flag no — show this help message and exit
--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.
130 Interrupted by the operator (Ctrl-C); a remote change may already have committed.

Notes

A stale binding does not prevent listing or using other profiles. Invalid bindings are labeled invalid in table output; JSON adds binding_error and redacts tenant_id as null. Use aac profile show NAME to inspect the profile and aac profile update NAME --unbind to clear its local tenant association.