Add docs for host key signing

This commit is contained in:
Tuan Dang
2025-04-01 11:04:19 -07:00
parent dcde10a401
commit f825a62af2
16 changed files with 135 additions and 29 deletions
@@ -60,8 +60,8 @@ const schema = z
allowHostCertificates: z.boolean().optional().default(false),
allowCustomKeyIds: z.boolean().optional().default(false)
})
.refine((data) => ms(data.maxTTL) > ms(data.ttl), {
message: "Max TLL must be greater than TTL",
.refine((data) => ms(data.maxTTL) >= ms(data.ttl), {
message: "Max TLL must be greater than or equal to TTL",
path: ["maxTTL"]
});