[Docs] Warn that --api-key does not gate all endpoints (#51999)
Signed-off-by: Russell Bryant <rbryant@redhat.com> Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
9035151d6c
commit
8151f2ad43
@@ -282,7 +282,15 @@ class FrontendArgs(BaseFrontendArgs):
|
||||
"""Allowed headers."""
|
||||
api_key: list[str] | None = None
|
||||
"""If provided, the server will require one of these keys to be presented in
|
||||
the header."""
|
||||
the header.
|
||||
|
||||
Warning: this only authenticates endpoints under the `/v1`, `/v2`, and
|
||||
`/inference` path prefixes. Other endpoints on the same server, including
|
||||
`/invocations` (which exposes the same inference capabilities as `/v1`),
|
||||
remain unauthenticated. Do not rely on `--api-key` alone to secure vLLM;
|
||||
see
|
||||
https://docs.vllm.ai/en/latest/usage/security.html#api-key-authentication-limitations
|
||||
for what it does and does not protect."""
|
||||
ssl_keyfile: str | None = None
|
||||
"""The file path to the SSL key file."""
|
||||
ssl_certfile: str | None = None
|
||||
|
||||
Reference in New Issue
Block a user