mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-14 23:21:35 +00:00
fix - don't print hcorp secrets in debug logs (#7529)
This commit is contained in:
parent
9fef0a6d16
commit
4899ed1b42
2 changed files with 0 additions and 4 deletions
|
|
@ -98,7 +98,6 @@ class HashicorpSecretManager:
|
|||
|
||||
# For KV v2, the secret is in response.json()["data"]["data"]
|
||||
json_resp = response.json()
|
||||
verbose_logger.debug(f"Hashicorp secret manager response: {json_resp}")
|
||||
_value = self._get_secret_value_from_json_response(json_resp)
|
||||
self.cache.set_cache(secret_name, _value)
|
||||
return _value
|
||||
|
|
|
|||
|
|
@ -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}"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue