Confidential Computing: Protecting Data While It Is Being Processed
Short answer
Encryption has long protected data at rest and in transit, but data had to be decrypted in memory to be processed. Confidential computing protects data in use by running workloads inside hardware-based trusted execution environments (TEEs) that keep memory encrypted and isolated, even from the cloud provider’s administrators. Remote attestation lets you verify the exact code running before sending it secrets.
Key takeaways
- Confidential computing closes the “data in use” gap in encryption.
- TEEs isolate workloads in hardware, even from the host and cloud operator.
- Attestation proves what code is running before you trust it.
- Confidential AI protects both prompts and model weights.
What problem does confidential computing solve?
Data exists in three states: at rest (on disk), in transit (on the network) and in use (in memory while processing). The first two have been encrypted for years. The third has been exposed to anyone who controls the machine, including privileged administrators, a compromised hypervisor or, in principle, the cloud provider.
How do trusted execution environments work?
A trusted execution environment (TEE) is a protected area enforced by the CPU, and increasingly the GPU, where memory is encrypted and isolated from the rest of the system. Examples include Intel TDX and SGX, AMD SEV-SNP, Arm’s Confidential Compute Architecture and confidential-computing modes on modern data-centre GPUs. Major clouds offer confidential virtual machines and containers built on them.
What is remote attestation?
- The TEE produces a signed report describing the hardware and the exact code loaded.
- A verifier checks the signature and compares the measurements with expected values.
- Only if they match does a key service release secrets, such as decryption keys, to the workload.
Attestation turns “trust us” into something you can verify cryptographically.
What are the main use cases?
- Regulated data in the cloud: healthcare and financial workloads with stricter isolation.
- Multi-party analytics: several organisations combine data for analysis without seeing each other’s raw data.
- Confidential AI: protecting sensitive prompts and data during inference, and protecting valuable model weights.
- Key management and signing: handling secrets in isolated environments.
- Blockchain and privacy apps: private computation with verifiable integrity.
What are the limitations?
- Some performance overhead, depending on workload and hardware.
- Side-channel attacks on TEEs have been demonstrated over the years, so hardware and firmware must be patched.
- Attestation and key management add operational complexity.
- It protects data from the host, not from bugs in your own code.
Action checklist
Tick items off as you go. Progress is saved in this browser only.
Frequently asked questions
What is confidential computing?
Confidential computing protects data while it is being processed by running workloads in hardware-based trusted execution environments that keep memory encrypted and isolated from the host system and its operators.
What is a trusted execution environment (TEE)?
A TEE is a secure area enforced by the processor where code and data are isolated and memory is encrypted, so even privileged software on the same machine cannot read them.
What is remote attestation?
Remote attestation is a process where a TEE proves, with a signed report, what hardware and code it is running, so others can verify it before sending sensitive data or keys.
What is confidential AI?
Confidential AI uses confidential computing on CPUs and GPUs to protect sensitive input data, prompts and model weights during AI training or inference.
Does confidential computing replace encryption at rest?
No. It complements encryption at rest and in transit by also protecting data in use, completing end-to-end protection.