This API retrieves details of a specific TSIG (Transaction Signature) key based on its unique identifier. TSIG keys are used to secure DNS communications by authenticating zone transfers and updates between DNS servers. It enables administrators to retrieve TSIG key details for monitoring and auditing and authenticates DNS messages to prevent unauthorized changes. This API helps network administrators maintain a secure and authenticated DNS environment by allowing them to retrieve details of existing TSIG keys.
Method: GET
https://{appconsole_IP}:{9443}/api/dhcp/tsig_pk/{pk}/
The following headers must be included in the API request for successful authentication and data submission:
Authorization: DDI Central's OAuth implementation uses the Bearer authentication scheme. Hence, while making API calls, access_token obtained via the OAuth 2.0 Client Credentials Grant must be included in the Authorization header of API requests. This token verifies the client’s identity and ensures appropriate permissions for accessing resources.
The Authorization Header follows the format below:
headers = { "Authorization": "Bearer {bearer_tk}" }
Content-Type: Required in the header to indicate the media type of the resource being sent. It helps the server at the receiving end understand how to process the transmitted request body.
The Content-Type Header follows the format below:
headers ={ "Content-Type": "application/json" }
9.
* - Mandatory parameter.
Copied
{
"tsig_id":9,
"key_name":"tsig13",
"algorithm":"HMAC-MD5",
"secret_key":"yCPav0xvvdJQbQuFF8LyBl==",
"category":"zone_axfr"
}