mirror of
https://github.com/qdrant/qdrant.git
synced 2026-09-25 15:37:42 -05:00
With `enforce_internal_auth` enabled, the p2p server reused the public auth layer. A read-only key or any JWT passed that layer, and the Raft service does not check per-request access, so those credentials could add a peer to consensus. The internal auth layer now runs in a dedicated scope that accepts only `api_key` and `alt_api_key`. The read-only key, JWTs, and missing or wrong keys are rejected with Unauthenticated. Warn at startup when internal auth is enforced with only a read-only key configured, since peers would have nothing to authenticate with. Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>