Architecture comparison

Governance belongs in the control plane. Tokenization execution belongs near the data.

TokenMesh separates governance from execution. The control plane decides and signs the rules. The application enforces those rules locally.

Comparison

Central tokenization API model versus TokenMesh SDK model

CapabilityCentral Tokenization API ModelTokenMesh SDK Model
Runtime pathExternal API call per tokenizationIn-process SDK tokenization
Raw data movementRaw values may travel to serviceRaw values can stay in application boundary
Control plane outageMay affect new tokenization if service is hot pathValid cached bundle can continue
Regional driftService replicas must stay alignedSigned bundle version/hash can be compared
Key ownershipOften vendor/service-managedDesigned for customer KMS/HSM/Vault references
LatencyNetwork call dependentLocal execution avoids per-event network hop
AuditService-side auditRedacted SDK/control-plane evidence
Developer integrationAPI dependencySDK embedded in app

Philosophy

Control the policy. Keep the data. Move only tokens.

Control plane

Decides policy, signs bundles, records evidence, and detects drift.

SDK execution

Verifies the rulebook and tokenizes locally inside authorized workloads.

Customer keys

Uses KMS/HSM/Vault references instead of handing raw key material to the control plane.

Data movement

The architectural wedge is simple.

Raw values stay close to the producer. Signed policies move to applications. Tokens move downstream. Redacted evidence moves back to governance workflows.