Actions40
- Audit Log Actions
- Dynamic Secret Actions
- Environment Actions
- Folder Actions
- Identity Actions
- Project Actions
- Secret Actions
- Secret Import Actions
- Secret Tag Actions
Secret → Create
AI-generatedSummary
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.