File tree Expand file tree Collapse file tree
src/main/scala/io/viash/runners/nextflow Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -310,6 +310,23 @@ case class NextflowDirectives(
310310 @ default(" Empty" )
311311 queue : OneOrMore [String ] = Nil ,
312312
313+ @ description(
314+ """ The `secret` directive allows you to use a Nextflow secret in a process. Secrets are
315+ |injected into the process as environment variables and can be referenced in scripts
316+ |as `$SECRET_NAME`.
317+ |
318+ |Secrets must be configured beforehand using the `nextflow secrets set` CLI command.
319+ |
320+ |Note: this directive is not supported by cloud-native executors (e.g. AWS Batch, Google Batch)
321+ |without Seqera Platform. Available from Nextflow 22.10.
322+ |
323+ |See [`secret`](https://nextflow.io/docs/latest/reference/process.html#secret).
324+ |""" )
325+ @ example(""" "MY_ACCESS_KEY"""" , " yaml" )
326+ @ example(""" ["MY_ACCESS_KEY", "MY_SECRET_KEY"]""" , " yaml" )
327+ @ default(" Empty" )
328+ secret : OneOrMore [String ] = Nil ,
329+
313330 @ description(
314331 """ The `scratch` directive allows you to execute the process in a temporary folder that is local to the execution node.
315332 |
You can’t perform that action at this time.
0 commit comments