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
feat: support specifying multiple API keys for authentication
Add API key authentication middleware with:
- Support for OpenAI format (Authorization: Bearer token)
- Support for Anthropic format (x-api-key: token)
- Constant time comparison for security
- Multiple API keys via --api-key flag
When API keys are configured, all API endpoints require authentication.
The root endpoint / remains accessible without authentication.
PR: ericc-ch#144
0 commit comments