Infisical icon

Infisical

Interact with Infisical secrets management API

Secret Import → Update

AI-generated

Summary

Update a secret import in the destination Infisical project, environment, and path. Set its source environment, source path, or display position in Update Fields; the operation sends a PATCH request and returns the updated import.

Inputs

  • Project ID (required) — ID of the destination Infisical project.
  • Environment (required) — Destination environment slug; defaults to dev.
  • Secret Path — Destination folder path; defaults to /.
  • Secret Import ID (required) — ID of the secret import to update.
  • Update Fields — Optional source environment slug, source path, and position. Only non-empty environment and path values are sent; position is sent when provided. The lowest position is displayed first.

Output shape

A single item containing the updated secret import as JSON.

The returned JSON is the secretImport field from the API response when present, otherwise the full response. Each output item is paired with its input item.

Links

Discussion