Skip to content

Commit e50ffbb

Browse files
committed
Add a warning about using the $secrets runtime expression
Closes #979 Signed-off-by: Charles d'Avernas <[email protected]>
1 parent 897019c commit e50ffbb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

dsl.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -348,6 +348,7 @@ When the evaluation of an expression fails, runtimes **must** raise an error wit
348348
| workflow | [`workflowDescriptor`](#workflow-descriptor) | Describes the current workflow. |
349349
| runtime | [`runtimeDescriptor`](#runtime-descriptor) | Describes the runtime. |
350350

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

352353
##### Runtime Descriptor
353354

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

410+
⚠️ **Warning**: Use `$secrets` with caution: incorporating them in expressions or passing them as call inputs may inadvertently expose sensitive information.
411+
409412
### Fault Tolerance
410413

411414
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.

0 commit comments

Comments
 (0)