Docs: add sample keyfile.toml

This commit is contained in:
Sergey A 2021-07-01 10:46:14 +03:00
parent 92e422c726
commit 822eb76a1c
1 changed files with 10 additions and 1 deletions

View File

@ -136,10 +136,19 @@ http_timeout
Time in seconds to wait for HTTP requests. Default: 20.
keyfile
Specify an ini config file containing key (token) information. This file
Specify a toml config file containing key (token) information. This file
should contain a ``keys`` table, mapping key names to key values. See
specific source for the key name(s) to use.
Sample ``keyfile.toml``:
```toml
[keys]
# https://github.com/settings/tokens
# scope: repo -> public_repo
github = "ghp_<stripped>"
```
Global Options
~~~~~~~~~~~~~~
The following options apply to every check sources. You can use them in any