MyNixOS website logo
option

services.crowdsec.settings.console.enrollKeyFile

The Console Token file to use. The file should just contain the token in the first line of the file like this:

hiIamAToken

Normally you would do cscli enroll <token>, but you can put the token in a file instead and pass the path of that file to this option.

The token is available by clicking the "Enroll command" button at https://app.crowdsec.net/security-engines?distribution=linux.

Declarations
Type
null or absolute path
Default
null
Example
"/run/crowdsec/console_token.txt"