Infisical icon

Infisical

Manage secrets and related resources in Infisical

Actions40

Secret Tag → Create

AI-generated

Summary

Create a secret tag, setting its slug, color, and optional request parameters.

Inputs

  • projectId (required) — The project to operate on
  • slug (required) — A unique slug for the tag
  • color — The color of the tag
  • requestOptions — Additional request options such as batching, proxy, timeout, and SSL verification
  • allowUnauthorizedCerts — Whether to accept the response even if SSL certificate validation is not possible
  • proxy — HTTP proxy to use, e.g., http://myproxy:3128
  • timeout — Time in ms to wait for the server to send response headers before aborting the request

Output shape

a single secret tag object

Returns the created tag with fields like id, slug, color; success response contains the tag data; errors are propagated as n8n errors.

Examples

Example 1: Create a secret tag with slug 'backend' and color '#ff0000'

Set Project to the desired project, Slug to 'backend', Color to '#ff0000'. Optionally configure request options.

Example 2: Create multiple tags using batching

Enable batching in requestOptions, set batchSize and batchInterval, then provide Project and Slug for each tag creation.

Example 3: Create a tag while ignoring SSL certificate errors

Set Allow SSL Issues (Insecure) to true, then provide Project and Slug.

Links

Discussion