Define the standard before choosing controls
Encryption in transit is only enforceable if it is stated in terms a machine can check. A sentence such as "all LLM traffic must be encrypted" cannot be tested. A usable standard names the minimum TLS version, the allowed cipher suites, the requirement that clients validate server certificates and hostnames, and the conditions under which mutual TLS is required. Choose values that your own baseline and the services you call can both support, and record them in one place that controls and auditors can reference.
Apply the standard to every hop that carries customer data
The standard should apply to every hop that carries customer data, not only the final call to a model provider. That includes application to gateway, agent to model, agent to tool or MCP server, RAG pipeline to vector store and model, and calls made by third-party integrations. Treat self-hosted models the same way as external providers. An internal endpoint serving a model is still a network hop that can be misconfigured.
Hops to cover in the LLM call path
| Hop | What to cover |
|---|---|
| Application or agent to gateway | Client TLS settings and certificate validation. |
| Agent to tool or MCP server | Internal hops that are often assumed to be safe. |
| RAG pipeline to model | Retrieved customer data sent in prompts. |
| Gateway or proxy to provider | Egress path to external or self-hosted models. |
| Evidence and monitoring | Per-call records of transport properties. |
Start with an inventory
List each path that can send customer data to a model, who owns it, and what library or framework makes the call. This inventory is the denominator for every later measurement. Without it, you can report that the calls you know about are compliant, but not that all calls are.
Topics in this guide's outline
- Failure modes to design against
- Enforcement points and their tradeoffs
- Build the layers in a sensible order
- Verification and audit evidence
- Where runtime policy enforcement fits