Skip to content

fix: prevent secret identifiers in logs - #137

Open
abhihashi wants to merge 2 commits into
mainfrom
fix/cleartext-secret-logging
Open

abhihashi wants to merge 2 commits into
mainfrom
fix/cleartext-secret-logging

Conversation

@abhihashi

@abhihashi abhihashi commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

What changed

Removed the secret identifier from the structured debug log emitted while loading connector secrets in grove/secrets/__init__.py.

Reason for the change

Secret identifiers can contain sensitive information and were being emitted verbatim through the logging formatter. Removing the identifier prevents clear-text sensitive data from being exposed in logs while preserving non-sensitive context such as the field and configuration document.

Testing details

  • ./.venv/bin/pytest -q tests/test_secrets_hashicorp_vault.py tests/test_secrets_local_file.py — 8 tests passed
  • ./.venv/bin/ruff check grove/secrets/__init__.py — passed
  • git diff --check — passed

abhihashi and others added 2 commits September 11, 2026 11:38
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@abhihashi
abhihashi marked this pull request as ready for review September 11, 2026 16:50
@abhihashi
abhihashi requested a review from a team as a code owner September 11, 2026 16:50
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.

1 participant