mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-16 04:29:31 +00:00
fix(proxy): pass the decrypted CredentialItem to update_db_credential during master key rotation
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
parent
1e5b62f89e
commit
378c24b647
1 changed files with 1 additions and 1 deletions
|
|
@ -5350,7 +5350,7 @@ async def _rotate_master_key(
|
|||
try:
|
||||
decrypted_cred = proxy_config.decrypt_credentials(cred)
|
||||
encrypted_cred = update_db_credential(
|
||||
db_credential=cred,
|
||||
db_credential=decrypted_cred,
|
||||
updated_patch=decrypted_cred,
|
||||
new_encryption_key=new_master_key,
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue