summaryrefslogtreecommitdiffstats
path: root/src/share/api/gss-tsig-get-all.json
diff options
context:
space:
mode:
Diffstat (limited to 'src/share/api/gss-tsig-get-all.json')
-rw-r--r--src/share/api/gss-tsig-get-all.json53
1 files changed, 53 insertions, 0 deletions
diff --git a/src/share/api/gss-tsig-get-all.json b/src/share/api/gss-tsig-get-all.json
new file mode 100644
index 0000000..56350a4
--- /dev/null
+++ b/src/share/api/gss-tsig-get-all.json
@@ -0,0 +1,53 @@
+{
+ "access": "read",
+ "avail": "2.0.0",
+ "brief": [ "This command lists GSS-TSIG servers and keys." ],
+ "cmd-syntax": [
+ "{",
+ " \"command\": \"gss-tsig-get-all\"",
+ "}"
+ ],
+ "description": [ "See <xref linkend=\"command-gss-tsig-get-all\"/>" ],
+ "hook": "gss_tsig",
+ "name": "gss-tsig-get-all",
+ "support": [ "kea-dhcp-ddns" ],
+ "resp-syntax": [
+ "{",
+ " \"result\": 0,",
+ " \"text\": \"1 GSS-TSIG servers and 1 keys\",",
+ " \"arguments\": {",
+ " \"gss-tsig-servers\": [",
+ " {",
+ " \"id\": \"foo\",",
+ " \"ip-address\": \"192.1.2.3\",",
+ " \"port\": 53,",
+ " \"server-principal\": \"DNS/foo.com@FOO.COM\",",
+ " \"key-name-suffix\": \"foo.com.\",",
+ " \"tkey-lifetime\": 3600,",
+ " \"tkey-protocol\": \"TCP\",",
+ " \"keys\": [",
+ " \"{",
+ " \"name\": \"1234.sig-foo.com.\",",
+ " \"inception-date\": \"2021-09-05 12:23:36.281176\",",
+ " \"server-id\": \"foo\",",
+ " \"expire-date\": \"2021-09-05 13:23:36.281176\",",
+ " \"status\": \"not yet ready\",",
+ " \"tkey-exchange\": true",
+ " }",
+ " ]",
+ " },",
+ " {",
+ " \"id\": \"bar\",",
+ " \"ip-address\": \"192.1.2.4\",",
+ " \"port\": 53,",
+ " \"server-principal\": \"DNS/bar.com@FOO.COM\",",
+ " \"key-name-suffix\": \"bar.com.\",",
+ " \"tkey-lifetime\": 7200,",
+ " \"tkey-protocol\": \"UDP\",",
+ " \"keys\": [ ]",
+ " }",
+ " ]",
+ " }",
+ "}"
+ ]
+}