# Copyright (C) The Arvados Authors. All rights reserved.
#
# SPDX-License-Identifier: Apache-2.0

cwlVersion: v1.0
class: CommandLineTool
$namespaces:
  cwltool: http://commonwl.org/cwltool#
hints:
  "cwltool:Secrets":
    secrets: [pw]
requirements:
  InitialWorkDirRequirement:
    listing:
      - entryname: example.conf
        entry: |
          username: user
          password: $(inputs.pw)
inputs:
  pw: string
outputs:
  out: stdout
stdout: hashed_example.txt
arguments: [md5sum, example.conf]