MyNixOS website logo
option

services.prometheus.exporters.yace.environmentFile

Path to an environment file, as defined in systemd.exec(5), used to pass AWS credentials (e.g. AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_REGION) to the exporter without exposing them in the world-readable Nix store. Not needed on EC2 with an IMDS instance role.

Declarations
Type
null or absolute path
Default
null
Example
"/run/secrets/yace.env"