AI Confidential Computing Is a Trust-Boundary Redesign, Not an Encryption Checkbox

A comparison of confidential AI execution across public clouds and OpenStack through attestation, key release, virtualization, data sovereignty, and operational ownership.

Security discussions for AI services usually begin with encryption at rest and in transit. Databases and object stores are encrypted, and API calls use TLS. A generative-AI request, however, becomes plaintext while it is processed. The model must read the input, the inference runtime must load weights and a KV cache into memory, and retrieval-augmented generation may pass protected documents through several components. Unless the organization decides which operators, hypervisors, host memory, and debugging paths are trusted, encryption alone cannot describe how secrets are protected during execution.

Confidential computing addresses this problem with hardware-backed execution boundaries and remote attestation. A key is released only after the platform verifies that the expected code and virtual machine are running in an expected state, while memory and disks are protected from other platform layers. This does not make an AI application safe by itself. An application can still print secrets in a response, an agent can still have excessive permissions, and logs can still leak prompts. Those remain application and control-plane responsibilities.

Public clouds productize this boundary through managed VMs, enclaves, attestation services, and key-management services. An OpenStack-based private platform must connect features exposed by Nova and libvirt, such as Secure Boot, vTPM, AMD SEV, and Intel TDX, to real hardware, firmware, and a key-management system. The essential difference is not the encryption algorithm. It is who trusts which measurements, who releases the key, and who operates the boundary during failure and recovery.

A confidential-computing boundary protecting an AI model and input data through remote attestation and key release across public-cloud and OpenStack environments

AI has more than one secret to protect

An AI request is a combination of secrets. The user’s text and retrieved documents are not the only sensitive items. Model weights, tokenizers, system prompts, safety policies, embeddings, KV caches, tool results, and telemetry may all contain organizational knowledge or personal data. If only some of these components enter the confidential boundary, the data path stops being protected halfway through.

For example, a source document may be encrypted in object storage, but if the inference server places the decrypted model and document in ordinary host memory at startup, encryption at rest has not protected the execution boundary. Conversely, if the model and input are inside a confidential VM but the application writes the full prompt to an ordinary log, the secret has left the boundary. Confidential computing therefore starts by assigning trust to each part of the path:

  • Artifacts: Are model weights, container images, and runtimes signed and identified by expected digests?
  • Boot: Did the VM start through the approved firmware, kernel, and initialization configuration?
  • Execution: To what degree are memory and registers isolated from the host and other tenants?
  • Keys: Are model and data decryption keys released only when attestation passes policy?
  • Output: Are responses, logs, caches, and backups reclassified when they leave the protected boundary?

“Use a confidential VM” is therefore not a security objective. The objective is a threat model that states which attackers and operators are outside the boundary, which layers remain trusted, and whether an attestation failure stops the service or moves it to a reduced mode.

Public clouds package attestation and key release as an experience

The AWS Nitro Enclaves documentation describes an isolated execution environment inside an EC2 instance. An enclave has no persistent storage or interactive access and communicates with its parent instance through a restricted socket. Remote attestation can identify the code running in the enclave, and AWS KMS can be integrated to release keys to an attested enclave. This is useful for separating a small trust-sensitive function, such as key handling or sensitive inference preprocessing.

The enclave’s constraints are part of the AI architecture. A conventional model-download, caching, and telemetry path cannot simply be placed inside it, and network and storage access must be designed through the parent instance. If the parent forwards requests, memory isolation inside the enclave does not replace authentication and output controls in the parent application. Nitro Enclaves are closer to a product for putting a carefully bounded function behind an attestation boundary than to a button that encrypts an entire AI server.

The Azure Confidential VM overview describes a hardware-enforced boundary for VM state, attestation policies that validate platform compliance, and key release bound to successful attestation. vTPM, Secure Boot, and confidential OS-disk encryption are connected to the same flow. For organizations that want to wrap an existing application at the VM boundary with limited code changes, this can be a more natural path than an enclave.

The Google Cloud Confidential VM overview likewise presents memory protection and remote attestation as components of confidential computing for Compute Engine VMs. Managed features do not have identical meaning across every machine family, region, guest image, and live-migration condition, however. An AI platform team should validate the accelerator, image, boot mode, attestation API, key service, and recovery behavior as one supported combination instead of judging by the product name alone.

The advantage of a managed service is that this combination can be purchased as a product. Hardware memory encryption, attestation documentation, key services, and a regional catalog are connected for a faster start. The tradeoff is reliance on the provider’s measurements and service boundaries. If attestation policy syntax and key-release APIs are provider-specific, moving to another cloud or a private environment requires moving trust policies and operating automation, not only model files.

OpenStack provides building blocks, but the trust chain must be assembled

OpenStack should not be treated as the opposite of confidential computing. Nova provides configuration paths for Secure Boot, vTPM, AMD SEV, and Intel TDX. These features can connect guest boot integrity, a virtual TPM, encrypted memory, or a trusted domain to a private cloud’s hardware and data center.

But a Nova flavor or image property does not complete the attestation system. The actual protection level is determined together by the CPU and firmware, QEMU and libvirt versions, host configuration, guest image, scheduler placement, and key service. Barbican is the OpenStack Key Manager service for securely storing and providing secrets. Storing a key in Barbican is a different design problem from releasing that key only to a guest with approved measurements.

A private platform needs an evidence-based trust chain:

  1. The image pipeline signs the digests of the kernel, initial disk, model server, and configuration.
  2. Nova places confidential workloads only on supported host and device combinations.
  3. The guest or an attestation agent submits measurements and the policy version after boot.
  4. The key-management layer checks the attestation, workload, tenant, and data classification before releasing a key.
  5. The audit layer links the image, host, measurements, key request, model version, and shutdown time.

If any link depends on manual inspection, it becomes difficult to explain during an incident where a secret was actually processed. OpenStack brings control into the organization, but it does not automatically turn that control into a managed experience. The platform team must operate host replacement, firmware upgrades, attestation-policy changes, key revocation, and recovery as one system.

The tradeoff is in the control plane

Reducing the difference between public clouds and OpenStack to a feature checklist hides the important cost of confidential computing.

PerspectivePublic-cloud confidential computingOpenStack-based private platform
Control planePackages VMs, enclaves, attestation, and key services as managed productsComposes Nova, libvirt, host hardware, and key-management layers directly
VirtualizationSelects supported VM families, images, and regionsValidates CPU features, firmware, QEMU, host pools, and guest configuration
MultitenancyRelies on provider hardware isolation plus account, project, and policy controlsDesigns tenant, host, cell, device, and attestation boundaries internally
Attestation and keysStarts quickly with managed attestation and KMS integration, but uses provider semanticsIntegrates measurement collection, policy decisions, and key release directly
Data sovereigntyVerifies regions, service terms, and operational support boundariesProves the physical and logical boundary for data, keys, hosts, and operators
Cost controlManages VMs, KMS, attestation, transfer, and idle capacity as usageAccounts for hardware, performance loss, spare hosts, power, and operators
PortabilityVM images and APIs may move, while measurement policy and KMS dependencies remainHardware control is greater, but firmware, drivers, and automation cost more to move
RecoveryValidates supported zones, regions, and VM families as alternate pathsTests attested spare hosts, key recovery, and snapshot or migration constraints directly

OpenStack is not an obsolete version of a public cloud. A public cloud productizes much of the complicated trust chain so consumers can use it quickly. OpenStack lets an organization govern that chain and its data boundary directly. The former buys managed experience and elasticity; the latter retains hardware choice, operational independence, and data sovereignty. Regulated data and stable utilization may justify the private path, but if the organization cannot operate attestation and spare capacity, the security claim may become weaker rather than stronger.

Operating standards for an AI platform

An AI platform should put the following operating standards in its catalog instead of exposing a single “confidential mode” flag.

Make attestation a deployment admission decision

Bind the image digest, boot measurements, hardware TEE type, runtime version, and model version into one workload evidence record. A policy should say “this tenant’s data classification may use this model, runtime, region, and attestation state,” not merely “confidential VMs are allowed.” A failed attestation should withhold the key by default. Silently falling back to an ordinary VM must be prohibited.

Connect key release to the model lifecycle

Protecting model weights is insufficient if a retired vulnerable image can continue to receive the same key. Connect model approval and retirement, image signing, attestation policy, and KMS key versions. When a model is retired or its safety evaluation is withdrawn, block new key releases and verify termination of endpoints and caches.

Make observability avoid copying secrets

Not being able to inspect every byte inside a confidential VM is not an excuse to abandon operations. Export request IDs, model versions, attestation-policy versions, processing times, token counts, and error classes without copying secrets. Raw prompts, retrieved documents, model outputs, and memory dumps are not telemetry by default. If they must be collected, they need separate classification and retention controls.

Prove the recovery path first

Snapshots, live migration, debuggers, and host-memory collection may be restricted or have different meanings in a confidential environment. A recovery exercise should verify:

  • whether a spare host can pass the same attestation policy after the original host disappears;
  • whether the key service refuses a changed image after recovery;
  • whether a cold start can complete without unnecessarily retransmitting model and input data;
  • whether the service waits safely or moves to a reduced model when attestation or KMS is unavailable; and
  • whether incident metadata remains while sensitive plaintext does not.

The goal of confidential AI computing is not to make every layer invisible. It is to protect secrets without trusting every layer, prove that approved code is running, and preserve that evidence during failure. Public clouds offer this boundary as a product, while OpenStack-based platforms offer the materials for an organization to operate it itself. In either case, the decisive question is not “was it encrypted?” It is can we later prove which policy connected the key, the execution environment, and the data?

The official sources below were checked on November 30, 2026.