services.crowdsec-firewall-bouncer.settings.api_key

API key to authenticate with a local crowdsec API.

You need to call cscli bouncers add <bouncer-name> to register the bouncer and get this API key.

Setting this option will store this secret in the Nix store. Instead, you should set the services.crowdsec-firewall-bouncer.secrets.apiKeyPath option, which will read the value at runtime.

Type
null or string
Default
null
Declared
<nixpkgs/nixos/modules/services/security/crowdsec-firewall-bouncer.nix>