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.
Body
PARAM
Key | Datatype | Required | Description |
contractIds
|
string | (Optional) Limits the list to those keys belonging to the specified contracts. You can specify a comma-separated list with multiple contract IDs. | |
search
|
string | (Optional) Limits the list to those keys whose key name or algorithm name contains the specified string. | |
sortBy
|
string | (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. | |
accountSwitchKey
|
string | (Optional) For customers who manage more than one account, this [runs the operation from another account](https://techdocs.akamai.com/developer/docs/manage-many-accounts-with-one-api-client). The Identity and Access Management API provides a [list of available account switch keys](https://techdocs.akamai.com/iam-api/reference/get-client-account-switch-keys). |
HEADERS
Key | Datatype | Required | Description |
Accept
|
string |
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
}
} |
ENDPOINTS