Infisical icon

Infisical

Interact with Infisical secrets management API

Secret Import → Create

AI-generated

Summary

Creates a secret import that brings secrets from a source environment and path into a destination project, environment, and path. It can optionally use a different source project and enable replication so new source secrets sync to the destination.

Inputs

  • Project ID (required) — Destination Infisical project ID.
  • Environment (required) — Destination environment slug; defaults to dev.
  • Secret Path — Destination folder path; defaults to /.
  • Import From Environment (required) — Source environment slug.
  • Import From Path (required) — Source folder path; defaults to /.
  • Is Replication — Whether to automatically sync new secrets from the source; defaults to false.
  • Source Project ID — Source project ID. When omitted, the import request does not specify one, and the UI description says it defaults to the destination project.

Output shape

A single record per input item, containing the created secret import.

Uses the secretImport response field when present; otherwise returns the full API response. Each output is linked to its input item. API errors fail the item unless Continue On Fail is enabled, in which case an error record is returned.

Links

Discussion