Workflow Secrets
Secrets allow you access sensitive information, such as passwords, OAuth tokens, ssh keys, etc inside your Workflow Expressions.
You can define the names of secrets via the Workflow top-level "secrets" property, for example:
If secrets are defined in a Workflow definition, runtimes must assure to provide their values during Workflow execution.
Secrets can be used only in Workflow expressions by referencing them via the $SECRETS
variable. Runtimes must make $SECRETS
available to expressions as a predefined variable.
Here is an example on how to use secrets and pass them as arguments to a function invocation:
Note that secrets can also be used in expression functions.
Secrets are immutable, meaning that workflow expressions are not allowed to change their values.
Last updated