You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The gRPC server currently has no authentication — anyone who can reach
the port can call any RPC. Add an API key middleware so the server can
be safely exposed on a network.
Design
API key passed in gRPC metadata: authorization: Bearer <key>
Keys configured via env var NEXUS_API_KEYS (comma-separated) or a keys file
Unary + streaming interceptors check the key before forwarding
HealthCheck RPC is exempt (used by load balancers)
Invalid key → codes.Unauthenticated with a clear message
Activity