Skip to content

Commit

Permalink
Add bearer note to example config
Browse files Browse the repository at this point in the history
  • Loading branch information
Palladinium committed Dec 26, 2023
1 parent 16ef273 commit 476922d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ bind = ["10.1.1.1:80"]

## Simple auth based on a single token.
## Quartermaster will generate a token on startup and store it in `token_file`.
## You can then give that token to cargo to authenticate your requests.
## You can then give that token to `cargo login` to authenticate your requests.
## Make sure you prepend "Bearer " to the token when you pass it to cargo.
type = "auto_token"
## The file to store the token in. Optional, defaults to `/var/lib/quartermaster/token`.
token_file = "/crate-token"
Expand Down

0 comments on commit 476922d

Please sign in to comment.