Skip to content

fix: redact --svc-param values in config show - #83

Merged
yarolegovich merged 4 commits into
a2aproject:mainfrom
ConnorMoss02:fix/config-show-redact-svc-param
Oct 15, 2026
Merged

yarolegovich merged 4 commits into
a2aproject:mainfrom
ConnorMoss02:fix/config-show-redact-svc-param

Conversation

@ConnorMoss02

@ConnorMoss02 ConnorMoss02 commented Sep 29, 2026 •

Copy link
Copy Markdown
Contributor

config show printed --svc-param values, including Authorization headers, in clear text. Authorization entries now show as Authorization=<redacted>, other headers stay visible, and the unused bearer and api-key names are removed.

Fixes #82

Comment thread internal/clicfg/binder.go Outdated
ConnorMoss02 and others added 3 commits September 30, 2026 11:17
Splitting the joined value on commas let Authorization values containing a
comma leak their tail, and the prefix match redacted unrelated keys such as
Authorization-Hint. Redact each entry individually and match the key exactly
(case-insensitive).
@yarolegovich
yarolegovich merged commit 4277703 into a2aproject:main Oct 15, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: config show prints --svc-param credentials in clear text

3 participants