Skip to main content

Update Secret

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


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

Input Parameters

secretKeyName of the secret key.
secretValueValue of the secret key.
  1. The user must have update permission over the secretKey; otherwise, the workflow will be terminated with a 403 error.
  2. If the secret does not exist, it will be created, and the value will be the secretValue provided as the input parameter to the task.
  3. Only one secret can be updated at a time.