pub(crate) fn flat_key_policy_resolver_credential(
secrets: &Path,
profile: SecretsProfile,
process_key: &SigningKey,
) -> Option<String>Expand description
The enrolled credential a process-global resolver presents when the process
has no selected service identity (a multi-service foreground graph or a
plain CLI command). On a flat-key deployment policy resolves to the node
root/CA key (#759), so that key IS the policy identity: the resolver may
present policy’s enrolled JWT. Without it, cross-process Discovery
resolution from such a process goes out anonymous and dies at the MAC
dispatch PEP (NoClearance) on labeled nodes. Split-key deployments are
unchanged: key mismatch or a missing credential yields None.