Add fingerprinting mechanism

This commit is contained in:
Piero Toffanin 2025-04-18 12:21:16 -04:00
parent da0890d60f
commit f2268fe4d9
8 changed files with 65 additions and 20 deletions

View file

@ -147,6 +147,12 @@ def get_args():
action="store_true",
help="Require use of an API key for programmatic access to the API, unless the client also sends a secret match",
)
parser.add_argument(
"--require-api-key-fingerprint",
default=DEFARGS['REQUIRE_API_KEY_FINGERPRINT'],
action="store_true",
help="Require use of an API key for programmatic access to the API, unless the client also matches a fingerprint",
)
parser.add_argument(
"--shared-storage",
type=str,