AllDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/NetRiseInc/provenance-cli/llms.txt
Use this file to discover all available pages before exploring further.
provenance commands require an API token to authenticate with the NetRise Provenance API. Obtain your token from the NetRise Provenance platform.
Setting your token
The CLI resolves configuration in priority order: CLI flag > environment variable > config file > default.- Environment variable
- Config file
- CLI flag
The recommended approach, especially for CI/CD pipelines:Once set, all
provenance commands will use this token automatically.Verifying authentication
Useconfig test to verify your token and API connectivity:
What happens without a token
If no token is configured, the CLI exits with an error:Legacy variable names
The older environment variablesNETRISE_API_TOKEN and NETRISE_API_URL are still supported as fallbacks. If PROVENANCE_API_TOKEN is not set, the CLI checks NETRISE_API_TOKEN. Prefer the PROVENANCE_ prefix for new configurations.
API URL
The default API base URL ishttps://provenance.netrise.io/v1/provenance. Override it via:
~/.config/provenance/config.yaml
Security best practices
Configuration file
Full reference for all config file options and environment variables.
GitHub Actions
How to use the provenance GitHub Action with secrets.