Skip to main content

keyring_entry

Function keyring_entry 

Source
pub fn keyring_entry(kid: &str, key: &VerifyingKey, label: &str) -> Value
Expand description

The JSON object an agent’s CommandKeys array holds for this key.

Emitted by the generator so the operator distributes a value that is correct by construction rather than assembling it by hand — the shape is parsed by kanade-agent’s parse_keyring, and a hand-built entry that fails to parse takes the whole ring with it.