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
{{ message }}
Repository navigation
Separate admin key from client proxy API key (before phase-2 write endpoints) #10
/admin/state currently authenticates with the client proxy API key — the same key every /v1/* client uses. Anyone holding a client key can read pool state (account ids, request distribution, quota numbers).
Accepted for now (homelab, read-only endpoint, loopback bind), but must be fixed before phase 2 (write endpoints: drain, strategy switch, remove account) — a leaked client key must never allow mutating the proxy.
Design
auth.adminApiKey (config + env ZCODE_PROXY_ADMIN_API_KEY), separate from auth.proxyApiKey
Generate at first startup if absent (persisted to the config), displayed once
Activity
fix(security): remove ?key= from admin URL — header-only auth (#10 fo…