Skip to manual
gluon

CLI reference

gluon dev-miner-key

Print a fresh API key for the ontology builder's miner during development.

Model author or developer

Usage

Run it as gluon dev-miner-key (in the repository, cargo run -p gluon-cli -- dev-miner-key).

Console / text
Development only: print a fresh API key for the ontology builder's miner

Usage: gluon dev-miner-key

Options:
  -h, --help  Print help

What it reads and writes

It creates the service account svc-ontology-miner when it is missing and prints a new API key with the scopes mining:read, mining:extract and mining:report, for gluon-miner to read from GLUON_MINER_KEY. It works only with GLUON_DEV_MODE=1 and GLUON_TENANT=dev, and refuses otherwise.

Before you run it

The key lets the miner submit proposals to your local server. Keep it out of screenshots, tickets and git.