From 3ec80e2cec7ebfda86493d76f3af0932197a5c98 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Fri, 12 Dec 2025 09:36:02 -0600 Subject: docs --- docs/config.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'docs') diff --git a/docs/config.md b/docs/config.md index 36f57e89..40f186f6 100644 --- a/docs/config.md +++ b/docs/config.md @@ -870,7 +870,7 @@ The JWT TTL option determines how long issued JWTs are valid, defaulting to 7 da API keys can be configured to allow for secure communication without requiring the caller to obtain a JWT by signing in with a username and password. Each key must be given a name and a key with a length between 16 and 255 characters (inclusive). Callers may then supply one of the configured keys in the `X-API-Key` header when making web requests. Remember that API keys are secrets, so keep them safe. -You can generate a random, 32 bit API key by starting the application with `-k` or `--generate-secret` at the command line. +You can generate a random, 32 bit API key by starting the application with `--generate-secret` at the command line. An optional comma separated list of [CIDRs](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) can be defined for each key, which will restrict usage of the key to callers with a remote IP address that falls within one of the defined CIDRs. The default CIDR list for each key is `0.0.0.0/0,::0`, which applies to any IP address (IPv4 or IPv6). @@ -1306,6 +1306,6 @@ The application can be run in "command mode", causing it to execute a command an | -------------------------------- | --------------------------------------------------- | | `-v\|--version` | Display the current application version | | `-h\|--help` | Display available command-line arguments | -| `-e\|--envars` | Display available environment variables | -| `-g\|--generate-cert` | Generate an X509 certificate and password for HTTPS | -| `-k\|--generate-secret ` | Generate a random secret of the specified length | +| `--envars` | Display available environment variables | +| `--generate-cert` | Generate an X509 certificate and password for HTTPS | +| `--generate-secret ` | Generate a random secret of the specified length | -- cgit v1.2.3