feature: snowflake dynamic secrets

This commit is contained in:
Scott Wilson
2024-10-30 14:57:15 -07:00
parent 332ca61f5d
commit 3a3811cb3c
19 changed files with 3287 additions and 262 deletions
+14 -1
View File
@@ -27,7 +27,8 @@ export enum DynamicSecretProviders {
RabbitMq = "rabbit-mq",
AzureEntraId = "azure-entra-id",
Ldap = "ldap",
SapHana = "sap-hana"
SapHana = "sap-hana",
Snowflake = "snowflake"
}
export enum SqlProviders {
@@ -215,6 +216,18 @@ export type TDynamicSecretProvider =
renewStatement?: string;
ca?: string | undefined;
};
}
| {
type: DynamicSecretProviders.Snowflake;
inputs: {
orgId: string;
accountId: string;
username: string;
password: string;
// creationStatement: string;
// revocationStatement: string;
// renewStatement?: string;
};
};
export type TCreateDynamicSecretDTO = {
projectSlug: string;