What BYOK does and does not protect
What it covers
- The keys that protect data a provider stores at rest, where the provider supports customer-managed keys for that data store.
What it does not cover
- Prompts while a model processes them.
- What your applications and agents send to the API.
Coverage varies, so confirm it by provider, service tier, and data store before relying on it.
Data states and where BYOK fits
BYOK across the LLM data lifecycle applies to one state of the data, not all of them. The table below shows where customer-managed keys can apply and what addresses the other states.
| Data state | Where BYOK fits |
|---|---|
| In transit | Protected by transport encryption and network design, not by BYOK. |
| At rest | Where customer-managed keys can apply, subject to provider support per data store. |
| During inference | Outside the scope of key-based encryption at rest. |
| Runtime layer | Policy, access control, and audit logging complement key management. |
How key management integrations typically work
When you evaluate a BYOK offering, the key management details matter as much as the headline claim. Check which KMS and HSM options are supported, and how rotation and access logging behave.
Also confirm revocation behavior: what happens to stored data and service availability when a key is disabled, revoked, or deleted. Availability can differ by service tier, region, and deployment option, whether direct API or an enterprise cloud platform.
Criteria for evaluating provider BYOK claims
- Data coverage: which data types are protected by customer-managed keys, and which are explicitly excluded.
- Availability: which service tiers, regions, and deployment options, whether direct API or an enterprise cloud platform, support BYOK.
- Key integrations: which KMS and HSM options are supported, and how rotation and access logging behave.
- Revocation behavior: what happens to stored data and service availability when a key is disabled, revoked, or deleted.
- Inference handling: how data is treated in memory during processing, and which complementary commitments are contractual rather than only documented.
- Compliance mapping: how the provider's controls support your obligations under frameworks such as GDPR, HIPAA, SOC 2, or ISO 27001, reviewed with your compliance team.
Closing the gaps at the enterprise runtime layer
BYOK does not control what your applications and agents send to the API, and it does not apply while a model processes a prompt. Policy, access control, and audit logging at the runtime layer complement key management and address those gaps.