Skip to content

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-here

Read 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-here
Custom Agent Token Path

Change where the agent token is stored:

yaml
run-time:
  api:
    agent-token-path: /custom/path/agent.token

Default: /var/lib/jibril/agent.token

Configuration Priority

Jibril applies configuration in this order:

  1. Default built-in values
  2. Current Configuration file (/etc/jibril/config.yaml)
  3. 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.