mirror of
https://codeberg.org/spire/dispenser.git
synced 2026-06-03 18:14:06 +02:00
allow loading secrets from files
This commit is contained in:
parent
58f083f7e8
commit
ebb363c90d
2 changed files with 43 additions and 1 deletions
|
|
@ -44,6 +44,14 @@ Note that this will not start an additional server is a server is already runnin
|
|||
dispenser config.toml stop
|
||||
```
|
||||
|
||||
## Dealing with secrets
|
||||
|
||||
If you want to store your config file in version control but don't want to store your secrets there,
|
||||
you can choose to load the secrets from other files by specifying the secret as an absolute path.
|
||||
|
||||
This can be done for the following config options:
|
||||
`server.demostf_key`, `server.logstf_key`, `vultr.api_key`, `digitalocean.api_key` and `dyndns.password`.
|
||||
|
||||
## TODO
|
||||
|
||||
- [x] don't blindly kill server if there are players connected
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue