summaryrefslogtreecommitdiffstats
path: root/src/share/api/gss-tsig-get.json
blob: 8e7e182a3a152d1ad2a8d5566799fdc0cd0086ad (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
{
    "access": "read",
    "avail": "2.0.0",
    "brief": [
        "This command retrieves information about the specified GSS-TSIG server."
    ],
    "cmd-syntax": [
        "{",
        "    \"command\": \"gss-tsig-get\",",
        "    \"arguments\": {",
        "        \"server-id\": \"foo\"",
        "    }",
        "}"
    ],
    "description": [ "See <xref linkend=\"command-gss-tsig-get\"/>" ],
    "hook": "gss_tsig",
    "name": "gss-tsig-get",
    "support": [ "kea-dhcp-ddns" ],
    "resp-syntax": [
        "{",
        "    \"result\": 0,",
        "    \"text\": \"GSS-TSIG server[foo] found\",",
        "    \"arguments\": {",
        "        \"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.\",",
        "                \"server-id\": \"foo\",",
        "                \"inception-date\": \"2021-09-05 12:23:36.281176\",",
        "                \"expire-date\": \"2021-09-05 13:23:36.281176\",",
        "                \"status\": \"not yet ready\",",
        "                \"tkey-exchange\": true",
        "            }",
        "        ]",
        "    }",
        "}"
    ]
}