Infisical icon

Infisical

Manage secrets and related resources in Infisical

Actions40

Secret Import → Update

AI-generated

Summary

Update a secret import

Inputs

  • importId (required) — Identifier of the secret import to update.
  • projectId (required) — Project to which the secret import belongs.
  • environment (required) — Target environment slug (e.g., dev, staging, prod).
  • importEnvironment (required) — Source environment slug from which secrets are imported.
  • importPath (required) — Source path within the import environment.
  • requestOptions — Additional HTTP request options such as batching, SSL settings, timeout, or proxy.

Output shape

updated secret import object

Returns the updated secret import details; may include the importId and any changed properties.

Examples

Example 1: Update an existing secret import to import from a new path

Provide importId, projectId, environment, importEnvironment, importPath, and optionally requestOptions, then invoke Update.

Example 2: Adjust batching for a large import update

Set requestOptions.batch.batchSize and requestOptions.batch.batchInterval to control throttling.

Links

Discussion