Skip to content

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

misc: removed minimum requirements for kms description

Sheen Capadngan49eb6d6474bb
diff --git a/backend/src/ee/routes/v1/external-kms-router.ts b/backend/src/ee/routes/v1/external-kms-router.ts
index 39cd6d8780..a029e1cb8c 100644
--- a/backend/src/ee/routes/v1/external-kms-router.ts
+++ b/backend/src/ee/routes/v1/external-kms-router.ts
@@ -58,7 +58,7 @@ export const registerExternalKmsRouter = async (server: FastifyZodProvider) => {
schema: {
body: z.object({
slug: z.string().min(1).trim().toLowerCase(),
- description: z.string().min(1).trim().optional(),
+ description: z.string().trim().optional(),
provider: ExternalKmsInputSchema
}),
response: {
@@ -109,7 +109,7 @@ export const registerExternalKmsRouter = async (server: FastifyZodProvider) => {
}),
body: z.object({
slug: z.string().min(1).trim().toLowerCase().optional(),
- description: z.string().min(1).trim().optional(),
+ description: z.string().trim().optional(),
provider: ExternalKmsInputUpdateSchema
}),
response: {