Skip to content
Get Started

barca tokens

Run on the server’s host, in the project root, when the server requires tokens (barca serve --auth token). It prints a one-use bootstrap code, valid 15 minutes, that the web UI’s Connect screen accepts; from there you create named API tokens. A new code replaces any unused one. The code goes to stdout and nothing else is printed there.

$ barca tokens bootstrap
<one-use code>
barca tokens bootstrap

The steps from a code to a token a laptop or script uses are in Authentication and Tokens. The routes, storage and limits are in Server Mode: Opt-in project tokens.


All commands · Output format · Errors and exit codes