feat(dynamic-secret): Add tags to AWS IAM docs and add aws key-value limits to the schema

This commit is contained in:
carlosmonastyrski
2025-06-17 16:21:29 -03:00
parent 489bd124d2
commit b790dbb36f
2 changed files with 12 additions and 1 deletions
@@ -71,7 +71,9 @@ const formSchema = z.object({
environment: z.object({ name: z.string(), slug: z.string() }),
usernameTemplate: z.string().nullable().optional(),
tags: z
.array(z.object({ key: z.string().trim().min(1), value: z.string().trim().min(1) }))
.array(
z.object({ key: z.string().trim().min(1).max(128), value: z.string().trim().min(1).max(256) })
)
.optional()
});
type TForm = z.infer<typeof formSchema>;