Adding this block to the kea-ctrl-agent.conf file worked:
"authentication": {
"type": "basic",
"realm": "isc-kea DHCP server", "directory": "/etc/kea",
"clients": [
{ "user-file": "user.txt", "password-file": "password.txt"
}
]
},
Note how there can only be one file per client, but you can have multiple clients.
If going down that route, of having a default api user/password, how do we make this part of the package? Just change our default config, and adjust postinst to generate these two files?
Adding this block to the kea-ctrl-agent.conf file worked: tion": {
"directory" : "/etc/kea",
"user- file": "user.txt",
"password- file": "password.txt"
"authentica
"type": "basic",
"realm": "isc-kea DHCP server",
"clients": [
{
}
]
},
Note how there can only be one file per client, but you can have multiple clients.
If going down that route, of having a default api user/password, how do we make this part of the package? Just change our default config, and adjust postinst to generate these two files?
Time to think...