CLI Authentication
The CLI stores API-key credentials in~/.auvy/config.encrypted and resolves workspace and brain defaults from saved config, flags, and environment variables.
Login
Inspect and Update Config
Environment Fallback
If saved config is missing, the CLI reads:AUVY_API_URLorNEXT_PUBLIC_AUVY_API_URLAUVY_WORKSPACE_SLUG,NEXT_PUBLIC_AUVY_WORKSPACE_SLUG, orNUXT_PUBLIC_AUVY_WORKSPACE_SLUGAUVY_API_KEY,AUVY_PUBLISHABLE_KEY, orNEXT_PUBLIC_AUVY_PUBLISHABLE_KEYAUVY_BRAIN_IDorNEXT_PUBLIC_AUVY_BRAIN_ID
Validation Notes
- API keys must start with
ak_live_when usingauvy login. - Commands that need a workspace slug fail fast with a clear auth/config error if one cannot be resolved.
Related
- Commands Reference - command-level auth and flag details
- API Authentication - broader API, client, CLI, and MCP auth choices