services.prometheus.scrapeConfigs.*.authorization
NixOS option
Sets the Authorization header on every scrape request with the configured credentials.
type: null or (attribute set)Default
declared in: nixos/modules/services/monitoring/prometheus/default.nixView source on NixOS/nixpkgs →null