Skip to content

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

Merge branch 'main' into matheus/ldap-credential-rotation

Matheus Nogueira077a39f44800
diff --cc backend/src/services/app-connection/credential-rotation/app-connection-credential-rotation-service.ts
index d27beb411a,da6a4e920e..5c88787878
--- a/backend/src/services/app-connection/credential-rotation/app-connection-credential-rotation-service.ts
+++ b/backend/src/services/app-connection/credential-rotation/app-connection-credential-rotation-service.ts
@@@ -17,9 -15,12 +17,13 @@@ import
import { TKmsServiceFactory } from "@app/services/kms/kms-service";
import { TAppConnection, TAppConnectionRaw } from "../app-connection-types";
- import { AzureClientSecretsConnectionMethod } from "../azure-client-secrets";
- import { AzureKeyVaultConnectionMethod } from "../azure-key-vault";
- import { LdapConnectionMethod } from "../ldap";
+ import { AzureAppConfigurationConnectionMethod } from "../azure-app-configuration/azure-app-configuration-connection-enums";
+ import { AzureClientSecretsConnectionMethod } from "../azure-client-secrets/azure-client-secrets-connection-enums";
+ import { AzureDevOpsConnectionMethod } from "../azure-devops/azure-devops-enums";
+ import { AzureDnsConnectionMethod } from "../azure-dns/azure-dns-connection-enums";
+ import { AzureEntraIdConnectionMethod } from "../azure-entra-id/azure-entra-id-connection-enums";
+ import { AzureKeyVaultConnectionMethod } from "../azure-key-vault/azure-key-vault-connection-enums";
++import { LdapConnectionMethod } from "../ldap/ldap-connection-enums";
import { TAppConnectionCredentialRotationDALFactory } from "./app-connection-credential-rotation-dal";
import {
AppConnectionCredentialRotationStatus,
@@@ -67,13 -66,23 +71,29 @@@ const STRATEGY_MAP: Record
{
app: AppConnection.AzureClientSecrets,
method: AzureClientSecretsConnectionMethod.ClientSecret
+ },
+ {
+ app: AppConnection.AzureAppConfiguration,
+ method: AzureAppConfigurationConnectionMethod.ClientSecret
+ },
+ {
+ app: AppConnection.AzureDevOps,
+ method: AzureDevOpsConnectionMethod.ClientSecret
+ },
+ {
+ app: AppConnection.AzureDNS,
+ method: AzureDnsConnectionMethod.ClientSecret
+ },
+ {
+ app: AppConnection.AzureEntraId,
+ method: AzureEntraIdConnectionMethod.ClientSecret
}
+ ],
+ [AppConnectionCredentialRotationStrategy.LdapPassword]: [
+ {
+ app: AppConnection.LDAP,
+ method: LdapConnectionMethod.SimpleBind
+ }
]
};