An unsigned policy document.

interface PolicyDocument {
    devices: readonly DeviceIdentity[];
    issuedAt: number;
    maxValidityMs: number;
    policyId: string;
    refreshMs: number;
    rules: readonly AllowRule[];
    services?: readonly ServiceBinding[];
    tenantPath: readonly string[];
    version: number;
}

Properties

devices: readonly DeviceIdentity[]
issuedAt: number
maxValidityMs: number

Hard expiry: after issuedAt + maxValidityMs the edge fails closed.

policyId: string
refreshMs: number

Edges must refresh before this many ms elapse.

rules: readonly AllowRule[]
services?: readonly ServiceBinding[]

Network bindings used by real gateways. Absent in pure simulator bundles.

tenantPath: readonly string[]
version: number