Files
seaweedfs/weed/iam
Chris Lu d405a5df35 refactor: Surface credential generation errors and remove sensitive logging
Two improvements to error handling and security:

1. weed/iam/sts/session_claims.go:
   - Add logging for credential generation failures in ToSessionInfo()
   - Wrap errors with context (session ID) to aid debugging
   - Use glog.Warningf() to surface errors instead of silently swallowing them
   - Add fmt import for error wrapping

2. weed/s3api/auth_signature_v4.go:
   - Remove debug logging of actual access key IDs (glog.V(2) call)
   - Security improvement: avoid exposing sensitive access keys even at debug level
   - Keep warning-level logging that shows only count of available keys

This ensures credential generation failures are observable while protecting
sensitive authentication material from logs.
2026-01-02 20:26:55 -08:00
..
2025-08-30 11:15:48 -07:00
2025-11-12 22:14:50 -08:00
2025-08-30 11:15:48 -07:00
2025-11-12 22:14:50 -08:00