Hello! my issue is that i cant seem to populate online_api_credentials.yaml… i was told to do these commands:
rm online_api_credentials.yaml
touch online_api_credentials.yaml
cscli capi register
and then the enroll command
but i cant get past the register command because when i create a blank file, nothing is populated in it.
mrsfeathers@auth:~# cscli capi register
WARNING can’t load CAPI credentials from ‘/etc/crowdsec/online_api_credentials.yaml’ (missing login field)
Error: api client register (‘apicrowdsecnet/’): api register (apicrowdsecnet/): Post “apicrowdsecnet/v3/watchers”: net/http: TLS handshake timeout
as you can see, register expects there to be something already in the file.. and then it tries to login, but it cant. (please ignore the malformed links, i am a new user on this forum and cannot post links so i had to edit them)
so apparently theres some step every single tutorial and person is leaving out that im just not picking up on. how do i fill the file? how does it become populated?
iive tried installing on linux and docker with the same results. how do i figure out what goes in this file?