Infisical · Schema

Secret Update

JSON Schema for the Infisical secret update operation.

Secrets ManagementSecurityDevOpsDeveloper ToolsOpen-SourcePKICertificatesPrivileged Access ManagementCI/CDKubernetesEnvironment VariablesEncryption

Properties

Name Type Description
workspaceId string The ID of the project to update the secret in.
projectSlug string The slug of the project to update the secret in.
environment string The slug of the environment where the secret is located.
secretValue string The new value of the secret.
secretPath string The default path for secrets to update or upsert, if not provided in the secret details.
skipMultilineEncoding boolean Skip multiline encoding for the secret value.
type string The type of the secret to update.
tagIds array The ID of the tags to be attached to the updated secret.
metadata object
secretMetadata array
secretReminderNote string Note to be attached in notification email.
secretReminderRepeatDays number Interval for secret rotation notifications, measured in days.
secretReminderRecipients array An array of user IDs that will receive the reminder email. If not specified, all project members will receive the reminder email.
newSecretName string The new name for the secret.
secretComment string Update comment to the secret.
View JSON Schema on GitHub

JSON Schema

infisical-secret-update.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://api-evangelist.github.io/infisical/json-schema/infisical-secret-update.json",
  "title": "Secret Update",
  "description": "JSON Schema for the Infisical secret update operation.",
  "type": "object",
  "properties": {
    "workspaceId": {
      "type": "string",
      "description": "The ID of the project to update the secret in."
    },
    "projectSlug": {
      "type": "string",
      "description": "The slug of the project to update the secret in."
    },
    "environment": {
      "type": "string",
      "description": "The slug of the environment where the secret is located."
    },
    "secretValue": {
      "type": "string",
      "description": "The new value of the secret."
    },
    "secretPath": {
      "type": "string",
      "default": "/",
      "description": "The default path for secrets to update or upsert, if not provided in the secret details."
    },
    "skipMultilineEncoding": {
      "type": "boolean",
      "description": "Skip multiline encoding for the secret value."
    },
    "type": {
      "type": "string",
      "enum": [
        "shared",
        "personal"
      ],
      "default": "shared",
      "description": "The type of the secret to update."
    },
    "tagIds": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The ID of the tags to be attached to the updated secret."
    },
    "metadata": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      }
    },
    "secretMetadata": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "key": {
            "type": "string",
            "minLength": 1,
            "maxLength": 255
          },
          "value": {
            "type": "string",
            "maxLength": 1020,
            "default": ""
          },
          "isEncrypted": {
            "type": "boolean",
            "default": false
          }
        },
        "required": [
          "key"
        ],
        "additionalProperties": false
      }
    },
    "secretReminderNote": {
      "type": "string",
      "maxLength": 1024,
      "nullable": true,
      "description": "Note to be attached in notification email."
    },
    "secretReminderRepeatDays": {
      "type": "number",
      "nullable": true,
      "description": "Interval for secret rotation notifications, measured in days."
    },
    "secretReminderRecipients": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "An array of user IDs that will receive the reminder email. If not specified, all project members will receive the reminder email."
    },
    "newSecretName": {
      "type": "string",
      "minLength": 1,
      "description": "The new name for the secret."
    },
    "secretComment": {
      "type": "string",
      "description": "Update comment to the secret."
    }
  },
  "required": [
    "environment"
  ],
  "additionalProperties": false
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/infisical-secret-update"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.