Skip to main content

mesh_host_subject

Function mesh_host_subject 

Source
pub fn mesh_host_subject(label: &str) -> Subject
Expand description

Build the per-host mesh-peer subject for an enrolled host label (#328).

Extends the existing service:<name> convention (see EnvelopeContext::from_callback_service) with a per-host third segment so every mesh peer authenticates as its OWN granular principal (service:inference:host-<label>) rather than collapsing to the omnipotent "system" principal. The label is the operator-assigned mesh_peers key.