cyberark/secretless-broker

View on GitHub
demos/quick-start/docker/etc/secretless.yml

Summary

Maintainability
Test Coverage
version: "2"
services:
  quick-start-postgres:
    connector: pg
    debug: true
    listenOn: tcp://0.0.0.0:5454
    credentials:
      host: localhost
      username:
        from: env
        get: QUICKSTART_USERNAME
      password:
        from: env
        get: QUICKSTART_PASSWORD

  quick-start-ssh:
    connector: ssh
    listenOn: tcp://0.0.0.0:2222
    credentials:
      address: localhost
      user: user
      privateKey:
        from: env
        get: SSH_PRIVATE_KEY

  quick-start-basic-auth:
    connector: basic_auth
    listenOn: tcp://0.0.0.0:8081
    credentials:
      username:
        from: env
        get: BASIC_AUTH_USERNAME
      password:
        from: env
        get: BASIC_AUTH_PASSWORD
    config:
      forceSSL: false
      authenticateURLsMatching:
        - ^http\:\/\/quickstart\/
        - ^http\:\/\/localhost.*