mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-20 10:23:57 +00:00
misc: integrated custom key usages for issue-cert endpoint
This commit is contained in:
@@ -9,11 +9,11 @@ export const sanitizedCertificateTemplate = CertificateTemplatesSchema.pick({
|
||||
commonName: true,
|
||||
subjectAlternativeName: true,
|
||||
pkiCollectionId: true,
|
||||
ttl: true
|
||||
ttl: true,
|
||||
keyUsages: true
|
||||
}).merge(
|
||||
z.object({
|
||||
projectId: z.string(),
|
||||
caName: z.string(),
|
||||
keyUsages: z.string().array()
|
||||
caName: z.string()
|
||||
})
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user