Security
Data retention & residency
Where prompts and outputs are processed and stored, for how long, and who can see them.
What it is and why it exists
Enterprise buyers ask: does the provider train on our data, how long are prompts retained, in which region are they processed, can we get zero data retention, where are embeddings and logs stored? The answers decide which providers and deployments are allowed.
Quick prototype
Default API terms.
In production, at scale
Documented data flows per component, enterprise or zero-retention agreements where needed, regional endpoints, your own storage with retention policies, and customer-managed keys for the most sensitive deployments.
Vendors and tools
| Enterprise API terms (OpenAI, Anthropic, Google) | No training on API data by default; retention options |
|---|---|
| Azure OpenAI / Vertex AI / Bedrock | Cloud-region processing |
On AWS: Bedrock doesn’t use prompts to train models and keeps traffic in-region; cross-region inference profiles route within a geography; KMS customer-managed keys.
How it fails
- Discovering in the security review that traces were shipped to a SaaS tool in another region
What the interviewer asks next
What’s the first thing a bank’s security team asks?
Where does our data go, is it used for training, how long is it kept, who at the vendor can access it, and can it stay in our cloud account or region.