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
describe isReplication flag
Maidul Islama82b8135537e
diff --git a/backend/src/lib/api-docs/constants.ts b/backend/src/lib/api-docs/constants.tsindex 18db346dca..16278c3b1d 100644--- a/backend/src/lib/api-docs/constants.ts+++ b/backend/src/lib/api-docs/constants.ts@@ -386,6 +386,8 @@ export const SECRET_IMPORTS = {environment: "The slug of the environment to import into.",path: "The path to import into.",workspaceId: "The ID of the project you are working in.",+ isReplication:+ "When true, secrets from the source will be automatically sent to the destination. If approval policies exist at the destination, the secrets will be sent as approval requests instead of being applied immediately.",import: {environment: "The slug of the environment to import from.",path: "The path to import from."diff --git a/backend/src/server/routes/v1/secret-import-router.ts b/backend/src/server/routes/v1/secret-import-router.tsindex 50311273c4..ca604e7382 100644--- a/backend/src/server/routes/v1/secret-import-router.ts+++ b/backend/src/server/routes/v1/secret-import-router.ts@@ -30,7 +30,7 @@ export const registerSecretImportRouter = async (server: FastifyZodProvider) =>environment: z.string().trim().describe(SECRET_IMPORTS.CREATE.import.environment),path: z.string().trim().transform(removeTrailingSlash).describe(SECRET_IMPORTS.CREATE.import.path)}),- isReplication: z.boolean().default(false)+ isReplication: z.boolean().default(false).describe(SECRET_IMPORTS.CREATE.isReplication)}),response: {200: z.object({