Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
Fixed creating service tokens with no expiry
Daniel Hougaard67618046c033
diff --git a/backend-pg/src/server/routes/v2/service-token-router.ts b/backend-pg/src/server/routes/v2/service-token-router.tsindex de4e1c24b7..af0312de17 100644--- a/backend-pg/src/server/routes/v2/service-token-router.ts+++ b/backend-pg/src/server/routes/v2/service-token-router.ts@@ -52,7 +52,7 @@ export const registerServiceTokenRouter = async (server: FastifyZodProvider) =>encryptedKey: z.string().trim(),iv: z.string().trim(),tag: z.string().trim(),- expiresIn: z.number(),+ expiresIn: z.number().nullable(),permissions: z.enum(["read", "write"]).array()}),response: {