auth env
Manage environments (distinct control plane API URLs). Environments determine which profiles are shown and where auth/project actions apply.
llamactl auth env [COMMAND] [options]Commands:
list: List known environments and mark the current oneadd <API_URL> [--interactive/--no-interactive]: Probe the server and upsert the environmentswitch [API_URL] [--interactive/--no-interactive]: Select the current environment (prompts if omitted)delete [API_URL] [--interactive/--no-interactive]: Remove an environment and its associated profiles
Notes:
- Probing reads
requires_authandmin_llamactl_versionfrom the server version endpoint. - Switching environment filters profiles shown by
llamactl auth listand used by other commands.
Commands
Section titled “Commands”llamactl auth env listShows a table of environments with API URL, whether auth is required, and the current marker.
llamactl auth env add <API_URL>Probes the server at <API_URL> and stores discovered settings. Interactive mode can prompt for the URL.
Switch
Section titled “Switch”llamactl auth env switch [API_URL]Sets the current environment. If omitted in interactive mode, you’ll be prompted to select one.
Delete
Section titled “Delete”llamactl auth env delete [API_URL]Deletes an environment and all associated profiles. If the deleted environment was current, the current environment is reset to the default.
See also
Section titled “See also”- Profiles and tokens:
llamactl auth - Getting started: Introduction
- Deployments:
llamactl deployments