services.crowdsec.settings.config.api.server.online_client.credentials_path

NixOS option

null or absolute path or non-empty string

Path to a file containing credentials for the Central API. To automatically register with crowdsec-setup, set this option (typically to /var/lib/crowdsec/online_api_credentials.yaml). The file will be automatically created, unless it already exists.

type: null or absolute path or non-empty string
Default
null
Example
"\${config.services.crowdsec.settings.config.config_paths.data_dir}/online_api_credentials.yaml"
declared in: nixos/modules/services/security/crowdsecView source on NixOS/nixpkgs →