Skip to main content
Security Engine version:
Version: Next

cscli lapi register

cscli lapi register

Register a machine to Local API (LAPI)

Synopsis

Register your machine to the Local API (LAPI). Keep in mind the machine needs to be validated by an administrator on LAPI side to be effective.

TEXT
cscli lapi register [flags]

Options

TEXT
  -f, --file string      output file destination
-h, --help help for register
--machine string Name of the machine to register with
--token string Auto registration token to use
-u, --url string URL of the API (ie. http://127.0.0.1)

Options inherited from parent commands

TEXT
      --color string    Output color: yes, no, auto (default "auto")
-c, --config string path to crowdsec config file (default "/etc/crowdsec/config.yaml")
--debug Set logging to debug
--error Set logging to error
--info Set logging to info
-o, --output string Output format: human, json, raw
--trace Set logging to trace
--warning Set logging to warning

SEE ALSO

  • cscli lapi - Manage interaction with Local API (LAPI)
CrowdSec Docs
We use cookies

This site uses cookies to help us improve your experience. You can accept or decline below.