services.prometheus.scrapeConfigs.*.dockerswarm_sd_configs.*.authorization.credentials_file

Sets the credentials to the credentials read from the configured file. It is mutually exclusive with credentials.

Type
null or string
Default
null
Declared
<nixpkgs/nixos/modules/services/monitoring/prometheus/default.nix>