fix QA checks

This commit is contained in:
Ishaan Jaffer 2025-11-05 15:54:38 -08:00
parent e06d1d623f
commit 3fc262e92a
2 changed files with 6 additions and 6 deletions

View file

@ -15,7 +15,7 @@ Requires:
import json
import os
from typing import Any, Optional, Union
from typing import Any, Dict, Optional, Union
import httpx
@ -221,7 +221,7 @@ class AWSSecretsManagerV2(BaseAWSLLM, BaseSecretManager):
"""
from litellm._uuid import uuid
data = {
data: Dict[str, Any] = {
"Name": secret_name,
"SecretString": secret_value,
"ClientRequestToken": str(uuid.uuid4()),

View file

@ -72,12 +72,12 @@ class CyberArkSecretManager(BaseSecretManager):
try:
if self.tls_cert_path and self.tls_key_path:
# Certificate-based authentication
client = httpx.Client(cert=(self.tls_cert_path, self.tls_key_path))
resp = client.post(auth_url, content=self.conjur_api_key)
http_client = httpx.Client(cert=(self.tls_cert_path, self.tls_key_path))
resp = http_client.post(auth_url, content=self.conjur_api_key)
else:
# API key authentication
client = _get_httpx_client()
resp = client.post(auth_url, content=self.conjur_api_key)
http_handler = _get_httpx_client()
resp = http_handler.post(auth_url, content=self.conjur_api_key)
resp.raise_for_status()