Update Secret
A system task to update the value of any secret, given 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
Attributes | Description |
---|---|
secretKey | Name of the secret key. |
secretValue | Value of the secret key. |
Notes
- The user must have update permission over the secretKey; otherwise, the workflow will be terminated with a 403 error.
- 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.
- Only one secret can be updated at a time.