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
Allow MI to create another MI test
Tuan Dang855158d0bbbd
diff --git a/backend/src/ee/routes/v3/machineIdentity.ts b/backend/src/ee/routes/v3/machineIdentity.tsindex 66d32b13c5..0550cf14f8 100644--- a/backend/src/ee/routes/v3/machineIdentity.ts+++ b/backend/src/ee/routes/v3/machineIdentity.ts@@ -37,7 +37,7 @@ router.post(router.post("/",requireAuth({- acceptedAuthModes: [AuthMode.JWT]+ acceptedAuthModes: [AuthMode.JWT, AuthMode.MACHINE_ACCESS_TOKEN]}),machineIdentityController.createMachineIdentity);diff --git a/backend/src/validation/machineIdentity.ts b/backend/src/validation/machineIdentity.tsindex 49347a3068..74d3ee92a5 100644--- a/backend/src/validation/machineIdentity.ts+++ b/backend/src/validation/machineIdentity.ts@@ -51,7 +51,7 @@ export const CreateMachineIdentityV3 = z.object({.array().min(1).default([{ ipAddress: "0.0.0.0/0" }]),- accessTokenTTL: z.number().int().min(1)+ accessTokenTTL: z.number().int().min(1).default(7200)})});