Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
Update AzureKeyVaultConnectionForm.tsx
Daniel Hougaard666a531f4d73
diff --git a/frontend/src/pages/organization/AppConnections/AppConnectionsPage/components/AppConnectionForm/AzureKeyVaultConnectionForm.tsx b/frontend/src/pages/organization/AppConnections/AppConnectionsPage/components/AppConnectionForm/AzureKeyVaultConnectionForm.tsxindex ef6e204cc9..0d36e4c4eb 100644--- a/frontend/src/pages/organization/AppConnections/AppConnectionsPage/components/AppConnectionForm/AzureKeyVaultConnectionForm.tsx+++ b/frontend/src/pages/organization/AppConnections/AppConnectionsPage/components/AppConnectionForm/AzureKeyVaultConnectionForm.tsx@@ -97,14 +97,14 @@ const getDefaultValues = (appConnection?: TAzureKeyVaultConnection): Partial<For}break;case AzureKeyVaultConnectionMethod.ClientSecret:- if ("clientSecret" in credentials && "clientId" in credentials) {+ if ("clientId" in credentials && "tenantId" in credentials) {return {...base,method: AzureKeyVaultConnectionMethod.ClientSecret,credentials: {- clientSecret: credentials.clientSecret,clientId: credentials.clientId,- tenantId: credentials.tenantId+ tenantId: credentials.tenantId,+ clientSecret: ""}};}@@ -231,7 +231,7 @@ export const AzureKeyVaultConnectionForm = ({ appConnection, onSubmit, projectId/><Controller- name="tenantId"+ name="credentials.tenantId"control={control}render={({ field, fieldState: { error } }) => (<FormControl