get https://{hostname}/config-dns/v2/keys
Get the TSIG keys used by zones that you're allowed to manage.
Response
Get the TSIG keys used by zones that you're allowed to manage.
xxxxxxxxxx
curl --request GET \
--url https://hostname/config-dns/v2/keys \
--header 'accept: application/json'
xxxxxxxxxx
19{
"keys": [
{
"algorithm": "hmac-sha256",
"name": "a.example.key.",
"secret": "DjY16JfIi3JnSDosQWE7Xkx60MbCLo1K7hUCqng8ccg=",
"zonesCount": 3
},
{
"algorithm": "hmac-sha512",
"name": "another.example.key.",
"secret": "Ok1qR5IW1ajVka5cHPEJQIXfLyx5V3PSkFBROAzOn21JumDq6nIpoj6H8rfj5Uo+Ok55ZWQ0Wgrf302fDscHLw==",
"zonesCount": 7
}
],
"metadata": {
"totalElements": 2
}
}