redmine: redact api_key from the current-user payload #12
Loading…
Reference in a new issue
No description provided.
Delete branch "redmine-whoami-redact"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Redmine's
/users/current.jsonreturns the caller's ownapi_key.RedmineAPIClient.GetCurrentUser(and sokey-store-redmine whoami) now drops it: a resident must never see a raw credential in a tool result or CLI output, only the key file.Found by the security-agent resident on its first task (Redmine #9). The MCP hub's
redmine_whoamigets the same redaction in key.store (separate PR); the security-agent Redmine key gets rotated on the forge.Test:
TestGetCurrentUserRedactsAPIKey.