Configuration

Environment variables

VariablePurpose
SUME_API_KEYSume Developer API key.
SUME_API_BASE_URLAPI base URL. The default is https://api.sume.com/v1.
SUME_API_AUTH_MODEx-api-key or bearer.
SUME_APP_BASE_URLApp base URL that sume login uses. For the production API, the default is https://app.sume.com. For other APIs, the default is the origin of SUME_API_BASE_URL.
SUME_CONFIG_DIROverrides the local config directory for tests or isolated environments.

Local config

The CLI stores the local configuration in this file:

Use the recommended browser login flow to create the local config:

To examine the local readiness without a call to the API, use sume doctor --agent --json.