Merge branch 'auth0-connection-and-secret-rotation' into feat/azureClientSecretsRotation

This commit is contained in:
carlosmonastyrski
2025-04-15 23:58:27 -03:00
parent a889f92528
commit 7d97a76ecc
125 changed files with 2236 additions and 430 deletions
@@ -1,11 +1,13 @@
import { z } from "zod";
import { Auth0ClientSecretRotationSchema } from "@app/components/secret-rotations-v2/forms/schemas/auth0-client-secret-rotation-schema";
import { MsSqlCredentialsRotationSchema } from "@app/components/secret-rotations-v2/forms/schemas/mssql-credentials-rotation-schema";
import { PostgresCredentialsRotationSchema } from "@app/components/secret-rotations-v2/forms/schemas/postgres-credentials-rotation-schema";
const SecretRotationUnionSchema = z.discriminatedUnion("type", [
PostgresCredentialsRotationSchema,
MsSqlCredentialsRotationSchema
MsSqlCredentialsRotationSchema,
Auth0ClientSecretRotationSchema
]);
export const SecretRotationV2FormSchema = SecretRotationUnionSchema;