Skip to main content

expanso-cli config

expanso-cli config​

Configuration management commands

Synopsis​

Inspect and understand runtime configuration from the configured endpoint.

What Are Config Commands?​

Config commands allow you to view the current configuration settings without needing direct access to config files or environment. This is useful for:

• Verifying configuration changes have been applied • Understanding behavior and settings • Debugging issues related to configuration • Checking which configuration source is being used (CLI, env, file, defaults)

CONFIG vs PROFILE: • Profiles: CLI connection settings (endpoint, auth, how to connect) • Config: Service settings (scheduling, logging, resources, how services operate)

Available Commands:​

• get: View the full configuration • explain: View configuration with source information (where each value came from)

Common Workflows:​

View full configuration​

expanso-cli config get

See where configuration values came from​

expanso-cli config explain

Export configuration for reference​

expanso-cli config get --format yaml > expanso-config.yaml

Options​

-h, --help help for config

Options inherited from parent commands​

--api-key string API key for authentication (e.g., exp_ak_...). Env: EXPANSO_CLI_AUTH_API_KEY (preferred; flag values show in ps output)
-e, --endpoint string API endpoint URL
-k, --insecure Skip TLS certificate verification
-p, --profile string Profile to use for configuration
--timeout string Request timeout duration
-v, --verbose Enable verbose logging

SEE ALSO​