pub(crate) fn process_identity_name<'a>(
native_service_name: Option<&'a str>,
dedicated_service_name: Option<&'a str>,
) -> Option<&'a str>Expand description
The identity a foreground process installs into the process-global Discovery resolver and later uses for service startup. A native (iroh-required) selection takes precedence; otherwise a dedicated single-service compatibility process uses its provisioned service identity so the resolver client and the service share one key and enrolled credential. Plain CLI commands get neither.