Title: Add verbose CLI flag (-v) with redacted HTTP logging
Short description:
- Add a global
-v/--verboseCLI flag to enable redacted HTTP request/response logging to help debug interactions with the Databus and Vault.
What changed:
- Add global
-v/--verboseoption todatabusclientCLI and propagate it to API calls. - Implement redacted HTTP logging helper (redacts
AuthorizationandX-API-KEYheaders). - Instrument
downloadand Vault token exchange flows to print HTTP request/response details when-vis enabled. - Add unit tests ensuring verbose logs are printed and sensitive tokens are redacted.
- Update
README.mdand add aCHANGELOG.mdentry.
Why:
- Provides safe, actionable debugging output for issues involving HTTP communication and auth problems without exposing secrets.
Security note:
- Authorization and API-key headers are redacted in verbose output. Avoid enabling verbose output in public CI logs.
Closes #27