mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-06 00:26:40 +00:00
fix: correct api constant reference for kms docs
This commit is contained in:
@@ -293,10 +293,10 @@ export const registerCmekRouter = async (server: FastifyZodProvider) => {
|
|||||||
schema: {
|
schema: {
|
||||||
description: "Decrypt data with KMS key",
|
description: "Decrypt data with KMS key",
|
||||||
params: z.object({
|
params: z.object({
|
||||||
keyId: z.string().uuid().describe(KMS.ENCRYPT.keyId)
|
keyId: z.string().uuid().describe(KMS.DECRYPT.keyId)
|
||||||
}),
|
}),
|
||||||
body: z.object({
|
body: z.object({
|
||||||
ciphertext: base64Schema.describe(KMS.ENCRYPT.plaintext)
|
ciphertext: base64Schema.describe(KMS.DECRYPT.ciphertext)
|
||||||
}),
|
}),
|
||||||
response: {
|
response: {
|
||||||
200: z.object({
|
200: z.object({
|
||||||
|
|||||||
Reference in New Issue
Block a user