feat: add LDAP support for dynamic secrets

This commit is contained in:
Meet
2024-09-30 19:32:24 +05:30
parent efa54e0c46
commit 0e6aed7497
10 changed files with 683 additions and 5 deletions
+16 -2
View File
@@ -25,7 +25,8 @@ export enum DynamicSecretProviders {
ElasticSearch = "elastic-search",
MongoDB = "mongo-db",
RabbitMq = "rabbit-mq",
AzureEntraId = "azure-entra-id"
AzureEntraId = "azure-entra-id",
Ldap = "ldap"
}
export enum SqlProviders {
@@ -188,7 +189,20 @@ export type TDynamicSecretProvider =
applicationId: string;
clientSecret: string;
};
};
}
| {
type: DynamicSecretProviders.Ldap;
inputs: {
url: string;
binddn: string;
bindpass: string;
ca?: string | undefined;
creationLdif: string;
revocationLdif: string;
rollbackLdif: string;
};
};
;
export type TCreateDynamicSecretDTO = {
projectSlug: string;