summaryrefslogtreecommitdiffstats
path: root/src/share/api/gss-tsig-get-all.json
blob: 56350a453fed12b45248c1a55c1aa48a0e30d95d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
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\": [ ]",
        "            }",
        "        ]",
        "    }",
        "}"
    ]
}