Configuration
Authentication
Section titled “Authentication”Credentials and endpoint are resolved in this order (highest priority first):
--api-key/--endpointCLI flagsALTOVIZ_CLI_API_KEY/ALTOVIZ_CLI_ENDPOINTenvironment variables~/.altoviz/cli.yamlconfig file
You can generate an API key from your Altoviz account settings. See Authentication for details.
Config file
Section titled “Config file”Run altoviz configure to create or update the config file interactively:
altoviz configureThe file is stored at ~/.altoviz/cli.yaml:
apiKey: your_key_hereendpoint: https://api.altoviz.com # optional — override for staging/sandboxEnvironment variables
Section titled “Environment variables”export ALTOVIZ_CLI_API_KEY=your_key_hereexport ALTOVIZ_CLI_ENDPOINT=https://api.altoviz.com # optionalEnvironment variables are useful in CI/CD pipelines and Docker containers where you don’t want a config file on disk.
Verify connectivity
Section titled “Verify connectivity”altoviz helloThis command tests your API key and prints your account details.