Secrets

Replace the value of an existing secret

Changed on

Replaces a secret's encrypted value under a new version while keeping its locked type, target, and execution boundary intact. Refuses agent and API-key callers.

put/v1/org/secrets/{secretId}/value

Request

  • Base URL
    https://api.openworklabs.com
  • Auth
    • API key in header x-api-key
    • or HTTP bearer

Path parameters

secretId, string required

Request body

RotateOrganizationSecretRequest required
secretValue, string required

Response

Updated secret metadata.

OrganizationSecretDetailResponse required
secret, OrganizationSecretSummary required
blindUse, object required
rules, OrganizationSecretRule[] required

Changes

    • breaking

      removed the required property secret/sshFingerprint from the response with the status

    • breaking

      removed the required property secret/sshPublicKey from the response with the status

    • breaking

      removed the required property secret/targetConnectionId from the response with the status

    1 more change in this revision