Retrieving the Transactional Signature Keys (TSIG Key) in the API requires specific syntax depending on whether you are using REST or SOAP. Use this table to find the syntax for your command.

REST Syntax

Click to view all REST Resources
TSIGKey/ GET — Retrieve all or one identified TSIG Keys currently assigned to the account.

HTTP Action — GET

URIs:

Get one TSIG Key — https://api.dynect.net/REST/TSIGKey/<name>/

Get TSIGKeys — https://api.dynect.net/REST/TSIGKey/

Arguments:

No Arguments.

Response:

Get one TSIG Key:

  • string name — The name of the TSIG Key.
  • string secret — The actual TSIG Key.
  • string algorithm — The encryption algorithm used in DNS transactions.

Get TSIG Keys — array Individual TSIG Key resources.

Dyn Logo

SOAP Syntax

Click to view all SOAP Commands
GetOneTSIGKey — Retrieves the identified TSIG Key.

GetTSIGKeys — Retrieves all existing TSIG Keys in the account.

Arguments:

GetOneTSIGKey:

  • string nameRequired. Name of the TSIG Key.
  • string tokenRequired. The session identifier.

GetTSIGKeys:

  • string tokenRequired. The session identifier.
Response:

GetOneTSIGKey:

  • string name — Name of the TSIG Key.
  • string algorithm — The encryption algorithm used in DNS transactions.
  • string secret — The actual key.

GetTSIGKeys:

  • array data
    • string name — Name of the TSIG Key.
    • string algorithm — The encryption algorithm used in DNS transactions.
    • string secret — The actual key.
Example Request (Get one TSIG Key) — Click for More Info

Example Request (Get TSIG Keys) — Click for More Info