class Pdns::API::Endpoints::TSIGKeys

Defined in:

pdns/api/endpoints/tsig_keys.cr

Instance Method Summary

Constructor methods inherited from class Pdns::API::Endpoint

new(api : API, base_path : String) new

Instance Method Detail

def create(key : TSIGKey) : TSIGKey #

Add a TSIG key

This methods add a new TSIG Key. The actual key can be generated by the server or be provided by the client


[View source]
def delete(id : String) : Void #

Delete the TSIG Key with id


[View source]
def edit(id : String, &block : TSIGKey -> ) : TSIGKey #

Edit a TSIG Key


[View source]
def get(id : String) : TSIGKey #

Get a specific TSIG Key on the server, including the actual key


[View source]
def list : Array(TSIGKey) #

Get all TSIG Keys on the server, except the actual key


[View source]