Skip to main content

auth context / config

Manage cluster contexts and local configuration.

Relocated 2026-05-08: abc context ... was moved under abc auth context .... The root-level abc context is kept as a deprecated alias for one release — it prints a one-line stderr note and forwards to the new location. Update scripts to abc auth context ... at your convenience.

auth context add

Create a new named context and optionally make it active:

abc auth context add <name> \
--url https://api.abc-cluster.io \
--access-token <token> \
--workspace <workspace-id> \
[--region <region>] \
[--org <org-id>]

auth context list

abc auth context list

auth context use

Switch the active context:

abc auth context use <name>
# or via env var (one-shot override):
ABC_CLI_CONTEXT=dev abc job list

auth context remove

abc auth context remove <name>

config init

Create ~/.abc/config.yaml with a blank default context:

abc config init

config set / get / list / unset

abc config set active_context dev
abc config get active_context
abc config list
abc config unset active_context

Common config keys:

KeyDescription
active_contextDefault context name
contexts.<name>.urlAPI endpoint
contexts.<name>.access_tokenAccess token
contexts.<name>.workspace_idWorkspace ID
contexts.<name>.controller_urlabc-controller-svc endpoint for the capability probe (optional; when set, abc cluster capabilities sync probes here instead of Nomad)
contexts.<name>.cluster_typeabc-seedling | abc-grove (canonical short form). Long-form abc-cluster-seedling / abc-cluster-grove and -tended variants are accepted aliases; legacy abc-nodes / abc-cluster / abc-seed resolve to the new canonical on read. Used by tier-default capability seeding.