mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 18:54:30 +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
|
@ -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
Add a link
Reference in a new issue