Glossary

Bring Your Own Key (BYOK)

Your data encrypted with keys you control, held in your own key management service or HSM, so you can see every use, rotate on your schedule and revoke access by withdrawing the key.

General definition

Bring Your Own Key (BYOK) is a cloud security arrangement in which the customer supplies or controls the encryption keys a service uses to protect their data, instead of relying on keys the provider generates and holds. In practice the key lives in a key management service (KMS) or hardware security module (HSM) under the customer’s account, the provider’s service is granted permission to use it, and the customer can audit, rotate or revoke that permission. Examples are AWS KMS customer managed keys with imported key material, Azure Key Vault and Managed HSM, and Google Cloud customer-managed encryption keys (CMEK).

The term covers several arrangements with different levels of control:

  • Customer-managed keys (CMK or CMEK): the key is created and stored in the cloud provider’s KMS, but in your account and under your access policies
  • BYOK proper: you generate the key in your own HSM and import it into the provider’s KMS, so you hold the original copy
  • Hold Your Own Key (HYOK) or external key manager: the key never leaves your HSM; the provider calls out to it for every operation, as with Google Cloud External Key Manager or Azure double key encryption

What BYOK protects: it gives you a kill switch (revoke the key and the stored data becomes unreadable, sometimes called crypto-shredding), a usage log that shows every decrypt call, and separation of duties for frameworks that require customer control of keys. What it does not protect: the service still decrypts your data in memory to do its job, so an operator or attacker with access to the running service can read plaintext while the key is usable. BYOK is a control over encryption at rest, not end-to-end encryption, and it says nothing about who can see data in use.

Operationally BYOK means owning key management: a key rotation schedule, backups of key material, access policies that separate who may use a key from who may administer it, and a plan for what happens when a key is disabled by mistake. HSM-backed keys are usually validated to FIPS 140-2 or 140-3 Level 3, which is what government and financial procurement checklists ask for.

In the Ethora ecosystem

On the managed Ethora cloud, encryption at rest uses keys that Ethora manages, like most SaaS. On a dedicated server or self-hosted installation the question changes shape: the database volumes, MinIO object storage and backups run on infrastructure in your own cloud account or data centre, so they are encrypted with keys in your own KMS or HSM because that is simply where the infrastructure lives. You do not need a BYOK feature from the vendor when you own the whole stack; your keys are yours by construction, and the same holds for data residency.

That also closes the gap BYOK leaves open. With a SaaS vendor, BYOK lets you revoke a key but not stop the vendor’s staff from seeing data while the service runs. On a self-hosted Ethora deployment there is no vendor process touching plaintext at all, and on a managed dedicated server Ethora TechOps has only the access you grant. For conversations that must be unreadable even to your own administrators, the optional end-to-end encrypted rooms (off by default, switched on per app by the app owner) add client-side keys on top, at the cost of server-side moderation, search and export for those rooms.

Get started

Chat and AI built for regulated industries

Ethora gives you audit trails, retention controls, a Trust & Safety layer and dedicated deployments in your own cloud. Talk to our team.

Start Free
Free tier available Enterprise SLA No vendor lock-in