flux server
Server lifecycle commands (run on the server host).
Server lifecycle commands (run on the server host).
Sub-commands
flux server bootstrap-token— Print the server’s bootstrap token (or rotate it).
flux server bootstrap-token
Print the server’s bootstrap token (or rotate it).
Reading: prints the configured token (env / config file) if set; else the persisted file at <home>/bootstrap-token; else exits 1.
Rotating: writes a new token to the persisted file. The running server keeps using its in-memory copy until restarted; configured overrides win.
Options
--rotate— Generate a fresh token and persist it. The server caches the token at startup, so you must restart it for the rotated value to take effect; existing workers must then re-register. If FLUX_WORKERS__BOOTSTRAP_TOKEN or [flux.workers] bootstrap_token is set, that override still wins until removed.
Generated from flux/cli.py. Last verified against Flux 0.56.0.