services.prometheus.scrapeConfigs.*.dockerswarm_sd_configs.*.authorization.credentials_file
NixOS option
Sets the credentials to the credentials read from the configured file. It is mutually exclusive with credentials.
type: null or stringDefault
declared in: nixos/modules/services/monitoring/prometheus/default.nixView source on NixOS/nixpkgs →null