What the Gateway Protects
- Gateway identity: Verify the gateway is a specific workload running in a genuine TEE with Attestation Report.
- Per-response integrity: Verify a signed Receipt that binds request and response hashes to the attested gateway.
- No body retention in receipts: Receipts store hashes and verification facts, not prompt or response bodies.
- Confidential upstreams: For confidential responses, the gateway verifies the upstream provider and enforces channel binding before forwarding.
- Upstream retention, on request: The gateway’s own no-retention property says nothing about the provider it forwards to. Send
provider: {"zdr": true}to restrict routing to providers that do not retain prompt or completion content. See Zero Data Retention.
What It Does Not Protect
- Plain TLS is visible inside the attested gateway: TLS terminates inside the TEE. E2EE (end-to-end encryption) adds field-level encryption to a gateway key, but it still decrypts inside that verified gateway.
- Routed models expose prompts to third parties: For routed models, the gateway forwards to an un-attested provider. The receipt records that the upstream was not verified. Requesting zero data retention constrains whether such a provider stores your prompt, not whether it sees it.
- The gateway cannot make arbitrary upstreams confidential: A provider is confidential only when the gateway has a provider-specific verifier and an enforceable binding.
- Receipts are not a permanent public log: Treat receipt availability as operational retention, not immutable public storage.
Where Plaintext Exists
Choosing a Model
- Use a confidential response when the upstream model provider must be attested. Confirm it from the receipt:
upstream.verified.resultisverifiedandrequiredistrue. - Add E2EE when you want field-level encryption to a key from the attested gateway keyset.
- Use a routed model only when you accept that the upstream provider sees the prompt.
- Add Zero Data Retention when the upstream provider must not retain prompt or completion content after serving.

