← Back to section · Digital Security

Confidential Computing: Keeping Data Covered While It Is Being Computed

Encryption protects data in transit and at rest, but not data being processed in memory. Confidential computing uses trusted execution environments and remote attestation to fill that last gap — and this article is clear about the gaps it does not fill.

Published 22 November 2026 · 5 min read · PQ Frontier

Confidential Computing: Keeping Data Covered While It Is Being Computed
AI-generated site artwork
Video explainer · Cloud Security: Workloads and Shared Responsibility

The third state of data

Cloud security discussions usually cover encryption in two states: TLS while data moves across the network, and encryption at rest while it sits on disk. But data has a third state — in use. For a CPU to compute on data, the data must be present in memory as plaintext, with instructions operating on it directly. At that moment every cryptographic shell is off. Whoever can read the machine’s memory can read the data: the host operating system, the hypervisor, operations staff with physical or administrative access, and any attacker who has broken through the host layer. In a multi-tenant cloud, this is precisely the layer the tenant controls least.

Confidential computing aims squarely at this gap. Its goal can be stated in one sentence: keep data encrypted and isolated while it is in use, so that the operator of the cloud infrastructure — including the provider itself — is technically unable to inspect what a tenant is computing. This is not an accusation about any provider’s honesty; it replaces trust of the form “we believe they won’t look” with “they couldn’t look if they wanted to”, which is the same move zero trust makes.

How trusted execution environments isolate

The mainstream vehicle for confidential computing is the trusted execution environment (TEE). The idea is to carve out a protected region of memory at the processor level: data written into it is encrypted automatically by the hardware, decrypted inside the chip when read, with keys managed by the CPU, so that memory accesses from the operating system or hypervisor are either blocked by hardware or only ever see ciphertext. Implementations differ in detail — some fence off an “enclave” at process granularity, others protect an entire virtual machine as a confidential VM — but they solve the same problem: standing up a hardware-guarded compute space on top of an untrusted host software stack.

Two consequences follow immediately. First, provider operations — patching, live migration, fault diagnosis — no longer inherently imply access to tenant plaintext. Second, the attack surface shrinks from “the entire cloud platform software stack” to “the CPU hardware and its firmware”, a completely different order of magnitude. For finance, healthcare and multi-party joint modelling scenarios where the platform operator must not see the data, this is the step that turns a compliance claim into a technical fact.

Remote attestation: verify first, hand over keys second

Isolation alone is not enough. Why should a tenant believe that the protected region in the cloud is running the code they submitted, rather than a swapped version? The answer is remote attestation: the TEE hardware can produce a signed measurement report of the code and configuration running inside it, and the tenant (or a verification service the tenant trusts) checks this report before releasing the decryption keys — is the hardware model and firmware version right, does the code measurement match the hash of their own build, and does the signature chain lead back to the chip vendor’s root certificate?

This step is the linchpin of confidential computing. Without attestation, key release rests on trust; with it, the flow becomes: verify first, then decrypt, and if verification fails the data stays ciphertext. The usual way to bind key release to attestation results is to include attestation conditions in the KMS key policy, so that only a TEE with a matching measurement can unwrap the data key. Only then do envelope encryption, KMS and confidential computing interlock into a complete picture.

What it does not protect against

The boundaries need stating plainly, or confidential computing gets mistaken for a universal safe. First, TEEs defend against inspection by the host software layer, not against side channels: attacks that infer information through cache timing, power consumption or page-fault sequences have appeared repeatedly against various TEEs; vendors patch them through microcode and design iterations, but they sit outside the formal promise. Second, it does not fix vulnerabilities in the application itself: code runs inside the enclave, but badly written code still leaks data, and confidential computing does not review your business logic. Third, it does not defend availability: the host can switch your enclave off at any time — the guarantee is “cannot see”, not “cannot pull the plug”. Fourth, data entering and leaving the enclave can still be tampered with at the boundary if the application layer adds no encryption and integrity protection of its own; integrity has to be completed by attestation and protocol design.

How it divides the work with existing security layers

Confidential computing does not replace the other layers; it completes the set. TLS in transit, encryption at rest with KMS-held keys, and identity and access management governing who may call what — confidential computing governs who can see data while it is being computed on. Each of the four guards its own segment, and none substitutes for another: without KMS and attestation binding, key release into a TEE has no basis; without access control, an attacker holding stolen credentials can legitimately feed data into an enclave and read it back out — an enclave protects the computation process, not the authorisation decision. Conversely, with only the first three layers, the defence stops at the memory door. Placed into an existing architecture, the accurate statement is “the hardware root of trust gained a layer”, not “other security measures can now be skipped”. Its value shows most clearly in multi-party collaboration: several parties send their data into one attested environment for joint computation, none can see the others’ plaintext, and each leaves with only the result — a situation that, without confidential computing, can only be propped up by legal contracts.

Judging real offerings from marketing

When evaluating a cloud confidential computing service, four things separate engineering from marketing. What is the isolation granularity — a process-level enclave or a whole confidential VM — since that decides whether code must change? Is the attestation chain openly verifiable, with a published report format that tenants or third parties can validate independently, rather than only through the vendor’s own verification endpoint? Is key release genuinely bound to attestation results, or is attestation a display feature? And are the performance overhead and the supported instance types documented plainly? A service that can answer all four clearly has built confidential computing as engineering; one that cannot has mostly built it as marketing.

Tags: Confidential ComputingTrusted Execution EnvironmentRemote AttestationCloud Security