Skip to main content

install_key

Function install_key 

Source
pub fn install_key(
    keys_path: &Path,
    tenant: &str,
    lane: LaneClass,
    rate_limit: Option<usize>,
    key: &str,
) -> Result<String, String>
Expand description

Install an already-generated key into a ring. This is the fleet fan-out primitive: one control-plane key can be installed byte-identically on every serving origin without making any serving host the authority for the others. Replaying the exact same entry is idempotent; a prefix collision with different material or policy fails closed.