Appearance
Token Configuration
Create a configuration file first.
Configuration File
Add your token to the configuration file:
yaml
# /etc/jibril/config.yaml
run-time:
api:
token: your-token-hereRead more about the API Token.
Advanced Configuration
Custom API Endpoint
For self-hosted Garnet installations:
yaml
run-time:
api:
url: https://your-garnet-instance.com/
token: your-token-hereCustom Agent Token Path
Change where the agent token is stored:
yaml
run-time:
api:
agent-token-path: /custom/path/agent.tokenDefault: /var/lib/jibril/agent.token
Configuration Priority
Jibril applies configuration in this order:
- Default built-in values
- Current Configuration file (
/etc/jibril/config.yaml) - Environment variables (e.g.,
GARNET_API_TOKEN)
Environment Variables
Environment variables override configuration file settings. This is useful for containerized deployments where you want to keep the configuration file generic and provide the token at runtime.