Skip to main content

Update Secret

A system task that updates the value of any secret, given that the user has permission to update the secret.

Definitions

{
"name": "update_secret_task",
"taskReferenceName": "update_secret_task_ref",
"type": "UPDATE_SECRET",
"inputParameters": {
"_secrets": {
"secretKey" : "my_secret",
"secretValue" : "1234"
}
}
}

Input Parameters

AttributeDescription
secretKeyName of the secret key.
secretValueValue of the secret key.
optionalIf enabled, the task becomes optional, allowing the workflow to continue regardless of the task's outcome (whether it fails or remains incomplete).
Notes
  • The user must have update permission for the specified secretKey; otherwise, the workflow will terminate with a 403 error.
  • If the secret does not exist, it will be created with the secretValue provided as the input parameter to the task.
  • Only one secret can be updated at a time.

Examples



  1. Add task type Update Secret.
  2. Configure the secret key and value.

Update Secret UI