What Is Confidential Computing?

What Is Confidential Computing?

Confidential computing is a way of protecting data while it is being used. Most security today guards data in two states: locked in storage, and scrambled while it travels across a network. But the moment a program works on the data — sorting, analysing, calculating — it is usually decrypted and sits in plain text in memory. Anyone with access to that memory — including a compromised operating system or a curious cloud administrator — can read it.

Confidential computing closes that gap. It runs sensitive work inside a hardware-protected area of the processor called a trusted execution environment, where the data stays encrypted in memory and even the owner of the machine cannot easily peek inside. The idea has moved from research papers to real products, with the major cloud providers and chip makers shipping support for it — now a serious option for businesses handling health records, financial data or anything else they cannot afford to leak.

This guide explains the concept in plain language: how the protection works, the forms it takes, where it helps, where it does not, and how it compares with the security tools you probably already use — no technical background needed.

Key takeaways

  • Confidential computing protects data in use — the third state of data — by running work inside a hardware-protected trusted execution environment.
  • Data stays encrypted in memory inside the enclave, so even the cloud provider or host operating system cannot read it while it is processed.
  • The main forms are application enclaves, confidential virtual machines and confidential containers, each suited to different workloads.
  • It helps most with regulated data, shared cloud workloads and collaboration between organisations that do not fully trust each other.
  • It is not a replacement for encryption, access control or good software practice — it adds a layer on top.

Confidential computing in plain language

Think of data as having three lives. At rest, encryption locks the drawer it sits in. In transit, encryption seals the envelope it travels in. In use, a program opens the drawer and the envelope to work with the contents — and that is where traditional protection stops, because the processor needs the data in plain text to calculate with it.

Confidential computing changes the rules of that third state: instead of decrypting data into ordinary memory, the processor decrypts it only inside a sealed-off section of the chip itself, keeping the operating system, the hypervisor and even someone with physical access to the server outside. To understand why that matters, start with the basics of what cybersecurity is and how its layers fit together.

Two ideas make the seal trustworthy. The first is attestation: before sending sensitive data, you can ask the protected area to prove what code it is running, using a cryptographic signature from the hardware — if the code was tampered with, the proof fails and you simply do not send the data. The second is that the encryption keys live inside the hardware, not in files an administrator could copy.

How it works: the trusted execution environment

A trusted execution environment, usually shortened to TEE, is the sealed area itself, and modern processors from Intel, AMD and Arm all include one. When a confidential workload starts, the processor carves out a region of memory encrypted with a key only it knows. Code and data inside are decrypted only within the processor; anything read from outside comes back as scrambled ciphertext.

Laptop showing a padlock symbol with a hardware security key plugged in
Inside a trusted execution environment, data is decrypted only within the processor itself.

The protection also covers the code: the hardware fingerprints it as it loads, and that fingerprint is what attestation checks later — a swapped-in modified version changes the fingerprint and fails the check. Our explainer on how encryption works covers the building blocks in plain terms.

The seal has limits: the processor itself must be trusted, and researchers have found side-channel attacks that infer secrets from timing or power use rather than reading memory directly. Chip makers patch these flaws as they appear — confidential computing reduces a risk, it does not erase it.

The three states of data — and the gap this closes

The simplest way to judge any security product is to ask which state of data it protects. Most tools cover one or two states and leave the third open; the table below shows where confidential computing fits — it is the only common approach that protects data while a program is actively using it.

Data protection at a glance
State of data Main threat Usual protection
At rest Stolen disk or breached storage Disk and file encryption
In transit Eavesdropping on the network TLS and encrypted connections
In use Compromised host, admin or memory access Confidential computing in a trusted execution environment
Who is kept out Cloud provider staff, host OS, hypervisor Hardware-enforced isolation plus attestation
Who is not kept out Flaws in the application code itself Code review, access control and patching still needed
Performance cost Small for most workloads, larger for memory-heavy ones Test with your own workload first

The gap matters most in the cloud, where your data runs on hardware owned by someone else and you share the machine with other tenants. Confidential computing is what lets a bank or a hospital use shared cloud hardware while still being able to say, honestly, that the provider could not have read the data.

Types and variants: enclaves, confidential VMs and confidential containers

The oldest form is the application enclave: a small, sensitive part of an application — say, the code that handles a decryption key — runs inside the protected area while the rest runs normally. Intel’s SGX is the best-known example. Enclaves offer the tightest isolation, but the sensitive code must be written or adapted specifically for the enclave, which is real development work.

Confidential virtual machines take the opposite approach: the whole virtual machine, operating system and all, runs inside the protected area. AMD’s SEV and Intel’s TDX work this way, and the major clouds now offer confidential VM options. Nothing in the application needs to change, which makes this the easiest way to adopt the technology — though the larger protected area means more code must be trusted.

Confidential containers sit between the two: the container runs in a protected environment, often inside a confidential VM, with tooling for attestation and key management. This fits teams that already deploy with containers. The newest variant applies the same idea to graphics processors, so AI training and inference can run on sensitive data without exposing it to the host.

Benefits and risks

The clearest benefit is control on hardware you do not own: a company can process regulated data in a public cloud while keeping the provider outside the trust boundary, satisfying both security teams and auditors. The second is safer collaboration — two organisations can run a joint calculation on combined data, such as banks checking for fraud patterns, without either side revealing its raw data. The third is protection against insider threats, since host administrators cannot simply read memory to extract secrets.

There are real costs too. Performance is the first: encrypting and decrypting memory adds overhead, and memory-heavy applications can slow noticeably. The second is complexity — attestation, key management and the surrounding tooling are still maturing, and a misconfigured setup can quietly provide less protection than expected. The third is hardware dependence: you can only run these workloads where the right processors are available.

The subtlest risk is false confidence. Confidential computing protects the workload from the host, but nothing about bugs in the workload itself: an application that leaks data through its own outputs will leak it from inside the enclave just as happily as from outside. It also does not protect data once it leaves the enclave. Treat it as one strong layer, not a finished security story.

Real-world uses

Healthcare is one of the earliest adopters: hospitals use confidential computing to train a diagnostic model on scans from several institutions without any hospital handing its raw records to another. The model learns from the combined data, and no party sees another’s patients. Similar patterns appear in drug research, where companies collaborate without sharing proprietary compounds.

Finance uses it for fraud detection and risk modelling, combining data no single bank will expose. It also appears in digital asset custody, where the keys controlling funds are held inside enclaves so even the platform operator cannot extract them. Governments use it for sensitive data on shared infrastructure, and AI companies use it to let customers run inference on private data without the model provider seeing the query.

Confidential computing vs encryption vs zero trust

These three are easy to confuse, but they solve different problems. Encryption scrambles data so it cannot be read without a key — a tool confidential computing uses heavily inside the enclave. Zero trust is a strategy: never trust a user or system by default, verify everything, and give the smallest access needed. Confidential computing is a mechanism inside that strategy, removing the host from the list of things you must trust.

Put another way, encryption protects the data, zero trust organises who may touch it, and confidential computing protects it while it is actually being used. A system can have strong encryption and a strict zero-trust policy and still expose data in memory; confidential computing closes that specific hole. If you are comparing storage products, our guide to cloud storage with end-to-end encryption covers the at-rest side of the same problem.

Frequently asked questions

Is confidential computing the same as encryption?

No. Encryption is one of the tools confidential computing uses, but the concept is wider: isolating a running workload in hardware so data stays protected while it is being used, not only while stored or travelling.

Does confidential computing slow applications down?

It adds some overhead because memory is encrypted and decrypted by the processor, but for most workloads the difference is small. Memory-heavy applications feel it more, so measure performance with your own workload first.

Do I need special hardware to use it?

Yes, the processor must support a trusted execution environment, such as Intel TDX or SGX, AMD SEV, or Arm’s confidential computing features. The major clouds offer confidential virtual machines in many regions, so you can rent the hardware.

Can the cloud provider still see my data?

With a correctly configured workload, the provider’s staff and systems cannot read data inside the protected area, and attestation lets you verify the code running there. The provider still controls the physical hardware, so the guarantee rests on the processor and correct configuration.

Is confidential computing only for large companies?

It started there, because banks and hospitals had the strongest need, but confidential virtual machines on public clouds have made it accessible to smaller teams — if your workload already runs in a virtual machine, switching can be a configuration change rather than a project.

Does it protect against all attacks?

No. It protects data in use from the host and other tenants, but it does not fix bugs in your application, protect data after it leaves the enclave, or defend against every side-channel attack. It is one layer in a wider security setup.

The bottom line

Confidential computing answers a question older security could not: how do you work with sensitive data on a computer you do not control? By running the work inside a hardware-protected area where data stays encrypted in memory and the code proves itself through attestation, it closes the last open state of data — data in use — and makes the public cloud a realistic home for regulated workloads.

It is not a cure-all, and it works best alongside encryption at rest and in transit, strict access control and careful code. For any team handling data it cannot afford to leak, it is now a practical option rather than a research idea — and the right first step is a small pilot on a real workload, measured honestly.

on this page