roles/named: Support managing TSIG keys
To support signing of updates, TSIG keys can be defined using the `named_keys` variable. This variable takes a list of objects with the following properties: * `name`: The name of the key * `algorithm`: The signature algorithm (default: `hmac-md5`) * `secret`: The base64-encoded key material
This commit is contained in:
8
roles/named/templates/named.secrets.j2
Normal file
8
roles/named/templates/named.secrets.j2
Normal file
@@ -0,0 +1,8 @@
|
||||
// DNSSEC key configuration for ISC BIND
|
||||
{% for key in named_keys %}
|
||||
|
||||
key {{ key.name }} {
|
||||
algorithm {{ key.algorithm|d('hmac-md5') }};
|
||||
secret "{{ key.secret }}";
|
||||
};
|
||||
{% endfor %}
|
||||
Reference in New Issue
Block a user