-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtsig_key.go
29 lines (22 loc) · 835 Bytes
/
tsig_key.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/*
* PowerDNS Authoritative HTTP API
*
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* API version: 0.0.13
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
package pdnsapi
// A TSIG key that can be used to authenticate NOTIFYs and AXFRs
type TsigKey struct {
// The name of the key
Name string `json:"name,omitempty"`
// The ID for this key, used in the TSIGkey URL endpoint.
Id string `json:"id,omitempty"`
// The algorithm of the TSIG key
Algorithm string `json:"algorithm,omitempty"`
// The Base64 encoded secret key, empty when listing keys. MAY be empty when POSTing to have the server generate the key material
Key string `json:"key,omitempty"`
// Set to \"TSIGKey\"
Type_ string `json:"type,omitempty"`
}