CLI Legacy Config

aip config ... is deprecated and gated. Use aip accounts ... and aip configure for credentials whenever possible.

circle-exclamation

When to use legacy config

  • Global settings stored in ~/.aip/config.yaml (for example timeout or history_default_limit).

  • Short-term compatibility for existing automation.

  • aip config listaip accounts list

  • aip config configureaip configure or aip accounts add <name>

  • aip config set api_url/api_keyaip accounts edit <name> --url ... --key ...

  • aip config getaip accounts show <name> (or read ~/.aip/config.yaml)

  • aip config resetaip accounts remove <name> for each profile

Legacy commands (gated)

AIP_ENABLE_LEGACY_CONFIG=1 aip config list
AIP_ENABLE_LEGACY_CONFIG=1 aip config get api_url
AIP_ENABLE_LEGACY_CONFIG=1 aip config set api_url "https://your-aip-instance.com"
AIP_ENABLE_LEGACY_CONFIG=1 aip config set api_key "$AIP_API_KEY"
AIP_ENABLE_LEGACY_CONFIG=1 aip config set history_default_limit 25
AIP_ENABLE_LEGACY_CONFIG=1 aip config unset api_url
AIP_ENABLE_LEGACY_CONFIG=1 aip config reset --force

Audit helper

Use the built-in audit tool to find deprecated config usage in scripts and CI:

Last updated