Hey, I have this alertmanager configuration
global:
resolve_timeout: 5m
#API key in integration
victorops_api_key: 841027fb3edd4f458XXXX #..> Integration -> API
#Rest API in integrations
victorops_api_url: https://alert.victorops.com/integrations/generic/20131114/alert/ #..> Integration -> REST (generic)[search bar]
templates:
- './alertmanager-templates/*.tmpl'
route:
receiver: victorops-receiver
...
receivers:
- name: victorops-receiver
victorops_configs:
- api_key: ad09c894-f9c9-XXXXXX #..> Integrations -> Prometheus API
routing_key: route_team #..> Setting -> Routing keys
state_message: 'Alert: {{ .CommonLabels.alertname }}. Summary:{{ .CommonAnnotations.summary }}. RawData: {{ .CommonLabels }}'
Is there anyway to pass VIctorOps credential as secrets or someway to hide them?? The variable such as api_key
and victorops_api_key