Infisical icon

Infisical

Manage secrets and related resources in Infisical

Actions40

Secret → Create

AI-generated

Summary

Create a secret in an Infisical project and environment at the specified folder path. The operation sends the secret name, value, and optional metadata in a POST request to Infisical’s secrets API.

Inputs

  • Secret Name (required) — The secret’s key.
  • Project (required) — Choose a project from the searchable list or enter its ID.
  • Environment (required) — Choose an environment from the searchable list or enter its slug, such as dev or staging.
  • Secret Path — Folder path for the secret; defaults to /.
  • Secret Value (required) — Value to store. The field is displayed as a password.
  • Additional Fields — Optionally set a secret comment, skip multiline encoding, comma-separated tag IDs, or type (Personal or Shared; defaults to Shared).

Output shape

A single API response item.

The Create route does not declare response unwrapping, so the operation returns the API response as received. The source does not specify its exact fields.

Links

Discussion