cyberark/secretless-broker

View on GitHub
examples/generic_connector_configs/full_contact_secretless.yml

Summary

Maintainability
Test Coverage
version: 2
services:
  full-contact-oauth2:
    connector: generic_http
    listenOn: tcp://0.0.0.0:8071
    credentials:
      token:
        from: keychain
        get: service#fullcontact/token
    config:
      headers:
        Authorization: Bearer {{ .token }}
      forceSSL: true
      authenticateURLsMatching:
        - ^http[s]*
  full-contact-api-key:
    connector: generic_http
    listenOn: tcp://0.0.0.0:8081
    credentials:
      api_key:
        from: keychain
        get: service#fullcontact/api_key
    config:
      headers:
        X-FullContact-APIKey: "{{ .api_key }}"
      forceSSL: true
      authenticateURLsMatching:
        - ^http[s]*