Repository navigation
Keep Valkey credentials out of the MCP child and collector logs - #602
Conversation
Signed-off-by: nassery318 <nassery318@gmail.com>
|
No actionable comments were generated in the recent review. Walkthrough
Change: Bug fix Merge Risk:
|
Signed-off-by: nassery318 <nassery318@gmail.com>
Description
Fixes two ways Valkey credentials could leak.
MCP: the server passed its
VALKEY_USERNAMEandVALKEY_PASSWORDto the MCP child. On a loopback server with no MCP token, any local process could read Valkey as the preconfigured user without knowing the password. The child no longer receives these variables.Metrics: when Hot Keys failed to authenticate (for example after a password rotation), the collector logged the whole
iovalkeyerror. That error includes the AUTH arguments, so the password ended up in the server log every cycle. The collector now logs onlyerr.message.Testing