pub async fn register_local_canary(
policy: &PolicyClient,
registry: &RegistryClient,
service_jwt: &str,
base: &Path,
path: &Path,
expected_head: &str,
) -> Result<()>Expand description
Preflight both exact grants before constructing the sole Register request. The Registry signing key and JWT still authenticate both Policy and Registry RPCs; only the caller’s outbound Iroh carrier is ephemeral.