Skip to main content

production_vfs_pep

Function production_vfs_pep 

Source
pub async fn production_vfs_pep(
    signing_key: SigningKey,
    oauth: &OAuthConfig,
    audit_stream: &str,
) -> Result<Arc<NamespacePep>>
Expand description

Assemble the production VFS-plane PEP from the genesis label resolver and the tamper-evident MAC audit sink (#1272).

This is the hyprstream-crate wiring that satisfies the hyprstream_vfs::NamespacePep contract: the genesis composite RpcObjectLabelResolver (carriers (a)+(c), #1228) feeds label resolution, a VfsAccessDecider over the WAL audit sink evaluates the policy, and VerifiedClaimsSubjects supplies the activation-controlled subject context.

Callers propagate the error and refuse to arm a Namespace with a permissive fallback; there is no permissive arm path.