Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

chore: nits

Daniel Hougaardeee95a0a4387
diff --git a/backend/src/services/app-connection/azure-client-secrets/azure-client-secrets-connection-schemas.ts b/backend/src/services/app-connection/azure-client-secrets/azure-client-secrets-connection-schemas.ts
index 1e96dee364..880b48ce2d 100644
--- a/backend/src/services/app-connection/azure-client-secrets/azure-client-secrets-connection-schemas.ts
+++ b/backend/src/services/app-connection/azure-client-secrets/azure-client-secrets-connection-schemas.ts
@@ -176,8 +176,7 @@ export const SanitizedAzureClientSecretsConnectionSchema = z.discriminatedUnion(
method: z.literal(AzureClientSecretsConnectionMethod.ClientSecret),
credentials: AzureClientSecretsConnectionClientSecretOutputCredentialsSchema.pick({
clientId: true,
- tenantId: true,
- clientSecretKeyId: true
+ tenantId: true
})
}).describe(
JSON.stringify({ title: `${APP_CONNECTION_NAME_MAP[AppConnection.AzureClientSecrets]} (Client Secret)` })
diff --git a/frontend/src/pages/organization/AppConnections/AppConnectionsPage/components/AppConnectionForm/AzureClientSecretsConnectionForm.tsx b/frontend/src/pages/organization/AppConnections/AppConnectionsPage/components/AppConnectionForm/AzureClientSecretsConnectionForm.tsx
index 5c3cfc208c..87972e1f11 100644
--- a/frontend/src/pages/organization/AppConnections/AppConnectionsPage/components/AppConnectionForm/AzureClientSecretsConnectionForm.tsx
+++ b/frontend/src/pages/organization/AppConnections/AppConnectionsPage/components/AppConnectionForm/AzureClientSecretsConnectionForm.tsx
@@ -130,10 +130,6 @@ const getDefaultValues = (appConnection?: TAzureClientSecretsConnection): Partia
credentials: {
clientId: credentials.clientId,
tenantId: credentials.tenantId,
- clientSecretKeyId:
- "clientSecretKeyId" in credentials
- ? (credentials.clientSecretKeyId as string | undefined)
- : undefined,
clientSecret: ""
}
};
diff --git a/frontend/src/pages/organization/AppConnections/AppConnectionsPage/components/AppConnectionRow.tsx b/frontend/src/pages/organization/AppConnections/AppConnectionsPage/components/AppConnectionRow.tsx
index bef434f401..4833977d98 100644
--- a/frontend/src/pages/organization/AppConnections/AppConnectionsPage/components/AppConnectionRow.tsx
+++ b/frontend/src/pages/organization/AppConnections/AppConnectionsPage/components/AppConnectionRow.tsx
@@ -283,15 +283,13 @@ export const AppConnectionRow = ({
>
{(isAllowed: boolean) => (
<>
- {isAutoRotationEnabled && (
- <DropdownMenuItem
- isDisabled={!isAllowed}
- icon={<FontAwesomeIcon icon={faRotate} />}
- onClick={() => onRotateCredentials(appConnection)}
- >
- Rotate Credentials
- </DropdownMenuItem>
- )}
+ <DropdownMenuItem
+ isDisabled={!isAllowed}
+ icon={<FontAwesomeIcon icon={faRotate} />}
+ onClick={() => onRotateCredentials(appConnection)}
+ >
+ Rotate Credentials
+ </DropdownMenuItem>
<DropdownMenuItem
isDisabled={!isAllowed}
icon={