misc: add kmip metadata field

This commit is contained in:
Sheen Capadngan
2025-10-10 19:56:51 +08:00
parent 01b6c29996
commit 659ed7365d
7 changed files with 36 additions and 8 deletions
+4 -2
View File
@@ -128,7 +128,8 @@ export const registerKmipSpecRouter = async (server: FastifyZodProvider) => {
200: z.object({
id: z.string(),
value: z.string(),
algorithm: z.string()
algorithm: z.string(),
kmipMetadata: z.record(z.any()).optional()
})
}
},
@@ -433,7 +434,8 @@ export const registerKmipSpecRouter = async (server: FastifyZodProvider) => {
body: z.object({
key: z.string(),
name: z.string(),
algorithm: z.nativeEnum(SymmetricKeyAlgorithm)
algorithm: z.nativeEnum(SymmetricKeyAlgorithm),
kmipMetadata: z.record(z.any()).optional()
}),
response: {
200: z.object({