cyberark/secretless-broker

View on GitHub
examples/generic_connector_configs/datadog_secretless.yml

Summary

Maintainability
Test Coverage
version: 2
services:
  datadog-client:
    connector: generic_http
    listenOn: tcp://0.0.0.0:8031
    credentials:
      client_key:
        from: keychain
        get: service#datadog/client_key
    config:
      headers:
        DD-API-KEY: "{{ .client_key }}"
        Content-Type: application/json
      forceSSL: true
      authenticateURLsMatching:
        - ^http[s]*
  datadog-application:
    connector: generic_http
    listenOn: tcp://0.0.0.0:8041
    credentials:
      client_key:
        from: keychain
        get: service#datadog/client_key
      application_key:
        from: keychain
        get: service#datadog/application_key
    config:
      headers:
        DD-API-KEY: "{{ .client_key }}"
        DD-APPLICATION-KEY: "{{ .application_key }}"
        Content-Type: application/json
      forceSSL: true
      authenticateURLsMatching:
        - ^http[s]*