Cookbooks
bind
documentation
Bind Key

Back to resource list

bind_key

This resource adds a shared secret key (for either TSIG or the command channel) to the configuration.

Actions

ActionDescription
:createCreates a shared secret key

Properties

NameTypeDefaultDescription
algorithmStringThe algorithm that the secret key was generated from
bind_configStringdefaultName of the bind_config resource to notify actions on
secretStringThe secret key

Examples

bind_key 'dns-update-key' do
  algorithm 'hmac-sha256'
  secret 'this_is_the_secret_key'
end