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 pathDefault
nullExample
"/run/secrets/elasticsearch-exporter.env"