feat: add kubernetes dynamic secret

This commit is contained in:
Sheen Capadngan
2025-05-29 00:16:01 +08:00
parent 7994034639
commit 650f6d9585
10 changed files with 1240 additions and 4 deletions
+12 -1
View File
@@ -31,7 +31,8 @@ export enum DynamicSecretProviders {
SapHana = "sap-hana",
Snowflake = "snowflake",
Totp = "totp",
SapAse = "sap-ase"
SapAse = "sap-ase",
Kubernetes = "kubernetes"
}
export enum SqlProviders {
@@ -261,6 +262,16 @@ export type TDynamicSecretProvider =
algorithm?: string;
digits?: number;
};
}
| {
type: DynamicSecretProviders.Kubernetes;
inputs: {
url: string;
clusterToken: string;
ca?: string;
serviceAccountName: string;
namespace: string;
};
};
export type TCreateDynamicSecretDTO = {