14714: keep-balance uses cluster config
[arvados.git] / sdk / cwl / tests / wf / secret_job.cwl
1 # Copyright (C) The Arvados Authors. All rights reserved.
2 #
3 # SPDX-License-Identifier: Apache-2.0
4
5 cwlVersion: v1.0
6 class: CommandLineTool
7 $namespaces:
8   cwltool: http://commonwl.org/cwltool#
9 hints:
10   "cwltool:Secrets":
11     secrets: [pw]
12 requirements:
13   InitialWorkDirRequirement:
14     listing:
15       - entryname: example.conf
16         entry: |
17           username: user
18           password: $(inputs.pw)
19 inputs:
20   pw: string
21 outputs:
22   out: stdout
23 stdout: hashed_example.txt
24 arguments: [md5sum, example.conf]