Skip to main content

readback_local_canary

Function readback_local_canary 

Source
pub async fn readback_local_canary(
    policy: &PolicyClient,
    registry: &RegistryClient,
    service_jwt: &str,
    base: &Path,
    path: &Path,
    expected_head: &str,
) -> Result<()>
Expand description

Authenticate a read-only PolicyCheck using the same Registry key and delegated service JWT that the subsequent Registry request uses. Policy’s request subject/domain fields are compatibility fields; PolicyService derives identity and domain from this verified envelope instead.