Sirr

Manage ephemeral secrets with Sirr

Secret → Patch

AI-generated

Summary

Patch a secret via PATCH with optional value, TTL, and max-read-count changes.

Inputs

  • key (required) — Public secret ID (hex64) for anonymous secrets, or named key for org secrets
  • patchValue — New value to store (leave empty to keep current value)
  • patchTtlSeconds — New TTL in seconds from now (0 = no change)
  • patchMaxReads — New maximum read count (0 = no change)

Output shape

API response body as JSON containing the updated secret data

The node returns the parsed JSON from the PATCH request; no further transformation is applied.

Examples

Example 1: Update secret value only

key=abc123..., patchValue=newSecretValue

Example 2: Update TTL only

key=xyz789..., patchTtlSeconds=3600

Example 3: Update max reads only

key=def456..., patchMaxReads=5

Links

Discussion