List TSIG keys

GET https://{{host}}/config-dns/v2/keys

Get a list of the TSIG keys used by zones that you're allowed to manage.

Request Params

KeyDatatypeRequiredDescription
contractIdsstring(Optional) Limits the list to those keys belonging to the specified contracts. You can specify a comma-separated list with multiple contract IDs.
searchstring(Optional) Limits the list to those keys whose key name or algorithm name contains the specified string.
sortBystring(Optional) Sorts the list on the specified fields. You can specify multiple fields as a comma-separated list. Placing a dash before a field name sorts it in descending order.
accountSwitchKeystring(Optional) For customers who manage more than one account, this runs the operation from another account. The Identity and Access Management API provides a list of available account switch keys.

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{"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}}