Actions38
- Environment Actions
- Folder Actions
- Project Actions
- Secret Actions
- Secret Import Actions
- Secret Tag Actions
Secret → Create Many
AI-generatedSummary
Creates multiple secrets in one Infisical batch request for a project environment and path. Add one or more secrets with a key and value; optionally include a comment, disable multiline encoding, or attach key/value metadata to each secret.
Inputs
- Project ID (required) — Infisical project that will contain the secrets.
- Environment (required) — Environment slug, such as dev, staging, or prod; defaults to dev.
- Secret Path — Folder path in the environment; defaults to /. The optional Secret Path Override in Additional Fields replaces this path for the batch.
- Secrets (required) — Add one or more entries. Each requires a Secret Key and Secret Value. Each entry can also include an optional Secret Comment, Skip Multiline Encoding flag, and multiple key/value Secret Metadata entries.
Output shape
A list of items, usually one per created secret.
Each returned secret is a separate n8n item. If the API response does not contain a secrets array, the operation returns the response as a single item, which can occur for approval or policy-gated responses. An empty Secrets list raises an operation error.
Examples
Example 1: Create two shared secrets in the dev environment at the root path.
Provide the project ID and entries for API_KEY and DATABASE_URL, each with its value.
