Merge pull request #3668 from Infisical/feat/add-kubernetes-dynamic-secret

feat: add kubernetes dynamic secret
This commit is contained in:
Sheen
2025-05-29 21:45:22 +08:00
committed by GitHub
16 changed files with 1515 additions and 6 deletions
+16 -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,20 @@ export type TDynamicSecretProvider =
algorithm?: string;
digits?: number;
};
}
| {
type: DynamicSecretProviders.Kubernetes;
inputs: {
url: string;
clusterToken: string;
ca?: string;
serviceAccountName: string;
credentialType: "dynamic" | "static";
namespace: string;
gatewayId?: string;
sslEnabled: boolean;
audiences: string[];
};
};
export type TCreateDynamicSecretDTO = {