services.prometheus.scrapeConfigs.*.bearer_token
Sets the Authorization header on every scrape request with
the configured bearer token. It is mutually exclusive with
bearer_token_file.
- Type
null or string- Default
null- Declared
- <nixpkgs/nixos/modules/services/monitoring/prometheus/default.nix>