Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

fix: align detectAuthMethod priority with backend

Ryan Crabbe2390ab2c2ca7
diff --git a/ui/litellm-dashboard/src/components/Settings/AdminSettings/HashicorpVault/HashicorpVault.tsx b/ui/litellm-dashboard/src/components/Settings/AdminSettings/HashicorpVault/HashicorpVault.tsx
index b923fafeb1e..33a2c9e22b5 100644
--- a/ui/litellm-dashboard/src/components/Settings/AdminSettings/HashicorpVault/HashicorpVault.tsx
+++ b/ui/litellm-dashboard/src/components/Settings/AdminSettings/HashicorpVault/HashicorpVault.tsx
@@ -17,8 +17,9 @@ import HashicorpVaultEmptyPlaceholder from "./HashicorpVaultEmptyPlaceholder";
const { Title, Text } = Typography;
function detectAuthMethod(values: Record<string, any>): string {
- if (values.vault_token) return "Token";
if (values.approle_role_id || values.approle_secret_id) return "AppRole";
+ if (values.client_cert && values.client_key) return "TLS Certificate";
+ if (values.vault_token) return "Token";
return "None";
}