Skip to content

Commit

Permalink
Add a warning about using the $secrets runtime expression
Browse files Browse the repository at this point in the history
Closes #979

Signed-off-by: Charles d'Avernas <[email protected]>
  • Loading branch information
cdavernas committed Jan 9, 2025
1 parent 897019c commit e50ffbb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions dsl.md
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,7 @@ When the evaluation of an expression fails, runtimes **must** raise an error wit
| workflow | [`workflowDescriptor`](#workflow-descriptor) | Describes the current workflow. |
| runtime | [`runtimeDescriptor`](#runtime-descriptor) | Describes the runtime. |

⚠️ **Warning**: Use `$secrets` with caution: incorporating them in expressions or passing them as call inputs may inadvertently expose sensitive information.

##### Runtime Descriptor

Expand Down Expand Up @@ -406,6 +407,8 @@ The following table shows which arguments are available for each runtime express
| Task `export.as` | Transformed task output | `$context` |||||||||
| Workflow `output.as` | Last task's transformed output | Transformed workflow output || | || ||| |

⚠️ **Warning**: Use `$secrets` with caution: incorporating them in expressions or passing them as call inputs may inadvertently expose sensitive information.

### Fault Tolerance

Serverless Workflow is designed with resilience in mind, acknowledging that errors are an inevitable part of any system. The DSL provides robust mechanisms to identify, describe, and handle errors effectively, ensuring the workflow can recover gracefully from failures.
Expand Down

0 comments on commit e50ffbb

Please sign in to comment.