services.prometheus.exporters.fail2ban.passwordFile
NixOS option
File that contains the password to protect endpoints with HTTP basic authentication
type: null or absolute pathDefault
null
Example
declared in: nixos/modules/services/monitoring/prometheus/exporters.nixView source on NixOS/nixpkgs →"/run/secrets/prometheus-fail2ban-exporter-password.txt"