fix - don't print hcorp secrets in debug logs (#7529)

This commit is contained in:
Ishaan Jaff 2025-01-03 10:01:54 -08:00 committed by GitHub
parent 9fef0a6d16
commit 4899ed1b42
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 0 additions and 4 deletions

View file

@ -292,9 +292,6 @@ def get_secret( # noqa: PLR0915
elif key_manager == KeyManagementSystem.HASHICORP_VAULT.value:
try:
secret = client.read_secret(secret_name)
print_verbose(
f"secret from hashicorp secret manager: {secret}"
)
if secret is None:
raise ValueError(
f"No secret found in Hashicorp Secret Manager for {secret_name}"