cyberark/secretless-broker

View on GitHub
examples/generic_connector_configs/loggly_secretless.yml

Summary

Maintainability
Test Coverage
version: 2
services:
  loggy-token:
    connector: generic_http
    listenOn: tcp://0.0.0.0:8071
    credentials:
      token:
        from: keychain
        get: service#loggly/token
    config:
      headers:
        Authorization: Bearer {{ .token }}
      forceSSL: true
      authenticateURLsMatching:
        - ^http[s]*
  loggy-basic:
    connector: generic_http
    listenOn: tcp://0.0.0.0:8081
    credentials:
      username:
        from: keychain
        get: service#loggly/username
      password:
        from: keychain
        get: service#loggly/password
    config:
      headers:
        Authorization: Basic {{ printf "%s:%s" .username .password | base64 }}
      forceSSL: true
      authenticateURLsMatching:
        - ^http[s]*