feat: totp dynamic secret

This commit is contained in:
Sheen Capadngan
2024-11-16 02:48:28 +08:00
parent 774371a218
commit ba1fd8a3f7
9 changed files with 573 additions and 8 deletions
@@ -28,7 +28,8 @@ export enum DynamicSecretProviders {
AzureEntraId = "azure-entra-id",
Ldap = "ldap",
SapHana = "sap-hana",
Snowflake = "snowflake"
Snowflake = "snowflake",
Totp = "totp"
}
export enum SqlProviders {
@@ -230,6 +231,12 @@ export type TDynamicSecretProvider =
revocationStatement: string;
renewStatement?: string;
};
}
| {
type: DynamicSecretProviders.Totp;
inputs: {
url: string;
};
};
export type TCreateDynamicSecretDTO = {
projectSlug: string;