secrets

Update secret metadata

Changed on
patch/secrets/{secretId}

Request

  • Base URL
    http://localhost/api/v1
  • Auth
    • HTTP bearer
    • or HTTP basic
    • or none

Path parameters

secretIdstring required

Query parameters

remoteNodestring

name of the remote node

Request body

descriptionstring
providerConnectionIdstring
providerRefstring

Response

Secret updated

idstring required
workspacestring required

global for workspace-less secrets, otherwise the workspace name.

refstring required

Secret ref used from DAG YAML, for example prod/db-password.

descriptionstring
providerType'dagu-managed' | 'vault' | 'kubernetes' | 'gcp' | 'aws' | 'azure' | 'alibaba' required
providerConnectionIdstring
providerRefstring
providerRefFingerprintstring
currentVersioninteger required
status'active' | 'disabled' required
hasValueboolean required
createdAtstring date-time required
updatedAtstring date-time required
lastCheckedAtstring date-time
lastResolvedAtstring date-time
lastRotatedAtstring date-time

Changes

    • warning

      added the new alibaba enum value to the response property for the response status

    • warning

      added the new azure enum value to the response property for the response status

    • warning

      added the new gcp enum value to the response property for the response status

    • info

      removed the azure-key-vault enum value from the response property for the response status

    • info

      removed the gcp-secret-manager enum value from the response property for the response status