Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

feat: resolved ts error

=ad7350454a10
diff --git a/frontend/src/components/secret-rotations-v2/forms/schemas/ssh-password-rotation-schema.ts b/frontend/src/components/secret-rotations-v2/forms/schemas/ssh-password-rotation-schema.ts
index 098e4f3375..011595b9cc 100644
--- a/frontend/src/components/secret-rotations-v2/forms/schemas/ssh-password-rotation-schema.ts
+++ b/frontend/src/components/secret-rotations-v2/forms/schemas/ssh-password-rotation-schema.ts
@@ -15,7 +15,7 @@ export const SshPasswordRotationSchema = z
}),
secretsMapping: z.object({
username: z.string().trim().min(1, "Username required"),
- password: z.string().trim().optional()
+ password: z.string().trim().min(1, "Password required")
}),
temporaryParameters: z
.object({