SmartGrid Lakehouse — analytics on regulated data that never leaves
A Databricks lakehouse for smart-meter telemetry, where identifiers are tokenized at the edge and a gate blocks any upload that leaks.
Utilities and other regulated companies want cloud analytics, but personal data and critical-infrastructure identifiers may not leave the organisation. Masking inside the cloud is too late: by then the real values are already there.
Every identifier (meter, customer, site, SCADA IP) becomes a deterministic HMAC token before upload, so joins still work across tables and platforms. Names, IDs and IBANs are dropped and GPS is generalised. A Leak Gate checks every outgoing cell against the real sensitive values and blocks the upload on a single match. All systems are reached through an OOP connector layer with least privilege built into the types.
Connectors: Source (read-only, allow-list) · Sink (one Volume only) · Workspace (OAuth session) · NotebookRunner (serverless) · MaskingPolicy (one policy.yaml feeds the masker, the gate and UC column tags).
The Leak Gate and the Databricks connection are tested. The full cloud deploy is written but not yet run, the Gold layer is next, and I know the token length needs to grow from 32 to 64 bits.