MyNixOS website logo
option

services.prometheus.exporters.elasticsearch.environmentFile

Path to an environment file, as defined in systemd.exec(5), used to pass credentials to the exporter without exposing them in the process arguments. It should contain either ES_USERNAME and ES_PASSWORD, or ES_API_KEY.

Declarations
Type
null or absolute path
Default
null
Example
"/run/secrets/elasticsearch-exporter.env"