---
title: "Policies"
description: "Decide which workloads get an instance's secrets, with CAPE profiles combined in ALL and ANY groups."
source: "Key Guardian"
---
{/* TODO: add policy editor screenshots once the new CAPE editor ships. */}

An instance's policies decide whether a workload gets its secrets. Every policy is a **CAPE
policy**: it checks whether the key that signed the nonce passes one **CAPE profile**, such as "a
confidential pod on an approved PodVM image" or "a verified Intel TDX system".

A profile checks the evidence in the manifest: the CPU's signed report and its vendor chain, the
measurements of what booted, any vTPM or GPU attestation, and the pod or containers that run. Quote
verification always requires a trusted vendor chain.

## How policies combine

Open the instance's **Policies** tab. Policies sit in nested groups:

- **ALL** passes when every policy in it passes.
- **ANY** passes when at least one does.

The secret is released only when the whole tree passes. An instance with no policies refuses every
workload.

A new instance starts with one policy, **Key Guardian: approved PodVM pod**: a Confidential
Containers pod on a system running one of EQTY's released PodVM images. Each image is pinned as a
whole, so registers from different images can't be mixed.

## Built-in profiles

Pick a built-in profile, or build a custom one in the CAPE Workbench.

| Accepts                     | Profiles                                                                                 |
| --------------------------- | ---------------------------------------------------------------------------------------- |
| **A verified system**       | Any verified system · AMD SEV-SNP system · Intel TDX system · Bare metal system · Cloud system (vTPM), and its AMD SEV-SNP and Intel TDX variants |
| **A system with a GPU**     | TDX system with attested GPU · Bare-metal Intel TDX system with an NVIDIA GPU · Cloud Intel TDX system with an NVIDIA GPU (vTPM) |
| **A Confidential Containers stack** | CoCo stack, on bare metal or cloud, on AMD SEV-SNP, Intel TDX, or Intel TDX with an NVIDIA GPU |
| **A Container Runtime (CRT) stack** | CRT stack on bare metal: AMD SEV-SNP, Intel TDX, or Intel TDX with an NVIDIA GPU |
| **An attested pod**         | Attested pod, any verified system · initdata bound · initdata bound to launch · only k8s pause images · namespace default · on a TDX GPU system |
| **EQTY's released images**  | Key Guardian: approved PodVM pod · Key Guardian: approved PodVM system                    |
| **One vendor or host**      | Root pinned to AMD Milan only · Root pinned to Intel SGX only · vTPM AK pinned (one Azure host) · TDX with RTMR event-log replay |
| **Development only**        | Debug allowed system: accepts a guest that allows debugging, which isn't confidential.   |

Each profile's description in the console says exactly what it checks.

## See the results

Every evaluation is recorded in the [attestation logs](./attestation-logs.mdx), policy by policy,
with what was expected and what the manifest held. If a check fails on a measurement, compare the
observed value with your [reference values](./reference-values.mdx).