swf-runtime 1.0.0-alpha8

Runtime engine for Serverless Workflow DSL — execute, validate, and orchestrate workflows
Documentation
document:
  dsl: '1.0.0'
  namespace: test
  name: basic-secret-expr-export
  version: '0.1.0'
use:
  secrets:
    - mySecret
do:
  - getApi:
      call: http
      with:
        method: get
        endpoint:
          uri: http://localhost:9876/api
          authentication:
            basic:
              username: "${$secret.mySecret.username}"
              password: "${$secret.mySecret.password}"
      export:
        as: "${$authorization}"
  - verifyAuth:
      set:
        scheme: "${$context.scheme}"
        param: "${$context.parameter}"