Skip to content

Commit 1d73ede

Browse files
committed
Addresses the Ricardo's comment about a missing anchor for 'secret'
Signed-off-by: Charles d'Avernas <charles.davernas@neuroglia.io>
1 parent c2366b2 commit 1d73ede

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

dsl-reference.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
- [OAUTH2](#oauth2-authentication)
3939
+ [Extension](#extension)
4040
+ [Error](#error)
41+
- [Standard Error Types](#standard-error-types)
4142
+ [Event Consumption Strategy](#event-consumption-strategy)
4243
+ [Retry](#retry)
4344
+ [Input](#input)

dsl.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ Serverless Workflow DSL allows for defining reusable components that can be refe
9292
- [Extensions](dsl-reference.md#extension)
9393
- [Functions](dsl-reference.md#task)
9494
- [Retries](dsl-reference.md#retry)
95-
- [Secrets](#)
95+
- [Secrets](#secret)
9696

9797
##### Task
9898

@@ -114,6 +114,12 @@ The Serverless Workflow DSL defines several default [task](dsl-reference.md#task
114114

115115
To ensure they conform to the DSL, runtimes **should** pass all the feature conformance test scenarii defined in the [ctk](ctk/README.md).
116116

117+
##### Secret
118+
119+
Secrets are sensitive information required by a workflow to securely access protected resources or services. They provide a way to securely store and manage credentials, tokens, or other sensitive data used during workflow execution.
120+
121+
Runtime **must** implement a mechanism capable of providing the workflow with the data contained within the defined secrets. If a workflow attempts to access a secret to which it does not have access rights or which does not exist, runtimes **must** raise an error with type `https://serverlessworkflow.io/spec/1.0.0/errors/authorization` and status `403`.
122+
117123
#### Scheduling
118124

119125
Workflow scheduling in ServerlessWorkflow allows developers to specify when and how their workflows should be executed, ensuring timely response to events and efficient resource utilization. It offers four key properties: `every`, `cron`, `after`, and `on`.

0 commit comments

Comments
 (0)