kea-shell [-h] [-v] [--host] [--port] [--path] [--ca] [--cert] [--key] [--auth-user] [--auth-password] [--timeout] [--service] [command]
The kea-shell provides a REST client for the Kea Control Agent (CA). It takes command as a command-line parameter that is being sent to CA with proper JSON encapsulation. Optional arguments may be specified on the standard input. The request is sent via HTTP and a response is retrieved, displayed on the standard output. Basic HTTP authentication and HTTPS i.e. TLS transport are supported.
The arguments are as follows:
Displays help regarding command-line parameters.
Displays the version.
Specifies the host to connect to. Control Agent must be running at the specified host. If not specified, 127.0.0.1 is used.
Specifies the TCP port to connect to. Control Agent must be listening at the specified port. If not specified, 8000 is used.
Specifies the path in the URL to connect to. If not specified, an empty path is used. As Control Agent listens at the empty path, this parameter is useful only with a reverse proxy.
Specifies the file or directory name of the Certification Authority. If not specified HTTPS is not used.
Specifies the file name of the user end-entity public key certificate. If specified the file name of the user key must be specified too.
Specifies the file name of the user key file. If specified the file name of the user certificate must be specified too. Note that encrypted key files are not supported.
Specifies the user id for basic HTTP authentication. If not specified or specified as the empty string authentication is not used.
Specifies the password for basic HTTP authentication. If not specified but the user id is specified an empty password is used.
Specifies the connection timeout in seconds. If not specified, 10 (seconds) is used.
Specifies the service that is the target of a command. If not specified, Control Agent will be targeted. May be used more than once to specify multiple targets.
Specifies the command to be sent to CA. If not specified, "list-commands" is used.
Kea comes with an extensive Kea Administrator Reference Manual that covers all aspects of running the Kea software - compilation, installation, configuration, configuration examples, and much more. Kea also features a Kea Messages Manual, which lists all possible messages Kea can print with a brief description for each of them. Both documents are available in various formats (.txt, .html, .pdf) with the Kea distribution. The Kea documentation is available at https://kb.isc.org/docs/kea-administrator-reference-manual .
Kea source code is documented in the Kea Developer's Guide. Its online version is available at https://jenkins.isc.org/job/Kea_doc/doxygen/.
The Kea project website is available at https://kea.isc.org.
Mailing Lists and Support
There are two public mailing lists available for the Kea project. kea-users (kea-users at lists.isc.org) is intended for Kea users, while kea-dev (kea-dev at lists.isc.org) is intended for Kea developers, prospective contributors, and other advanced users. Both lists are available at https://lists.isc.org. The community provides best-effort support on both of those lists.
ISC provides professional support for Kea services. See https://www.isc.org/kea/ for details.
The kea-shell was first coded in March 2017 by Tomek Mrugalski.
kea-dhcp4(8), kea-dhcp6(8), kea-dhcp-ddns(8), kea-ctrl-agent(8), kea-admin(8), keactrl(8), perfdhcp(8), kea-lfc(8), Kea Administrator Reference Manual.
Internet Systems Consortium
2019-2021, Internet Systems Consortium