Add --api-keys-remote

This commit is contained in:
Piero Toffanin 2022-06-21 14:57:32 -04:00
parent 647379aea5
commit 8f8087f8ae
6 changed files with 47 additions and 3 deletions

View file

@ -89,6 +89,12 @@ def get_args():
action="store_true",
help="Enable API keys database for per-user rate limits lookup",
)
parser.add_argument(
"--api-keys-remote",
default=DEFARGS['API_KEYS_REMOTE'],
type=str,
help="Use this remote endpoint to query for valid API keys instead of using the local database",
)
parser.add_argument(
"--require-api-key-origin",
type=str,