pub fn parse_key_ring(json: &str) -> Result<HashMap<Key, KeyRingValue>, Error>Expand description
Parses a JSON string into a KeyRing.
The JSON string is expected to be an array of objects, each with a name and key field,
and an optional allowed_cidrs array. Fails the whole parse (fail-fast at startup, same as
every other keyring-shape error) on a malformed allowed_cidrs entry.