SaltDns. Dnssec. KeyImport
(Salt v1.0.0)
Puts the DNSSEC keys that Postgres holds (SaltDns.Dnssec.Key) into the
local Knot's key store, with their timers, before this node signs a zone as
the new leader. Same key ids, tags and DS records as on the old leader, so
the DNSKEY set does not change and validators notice nothing.
Idempotent: a key already there with the same timers is left alone; a
different one is replaced; a key marked removed is deleted. A signed zone
with no key in Postgres is not given new keys (that would break the
chain of trust at the parent): it is left out of the result, so signing
stays off for it, and [:salt_dns, :failover, :keys_missing] is emitted.
Summary
Functions
Imports the keys of the given signed zones (%{id:, name:, mode:}) and
returns the ones that can be signed: {:ok, zones}.
Imports the keys of one zone.