Zero-access encryption (Enterprise)
Zero-access encryption is an Enterprise feature. Your server's support data is encrypted at rest with a key that is wrapped by your key management system (KMS), and Ogma staff are locked out of reading it when they support your account.
Your team keeps working as before in Discord and in your server's dashboard. Encryption and decryption happen automatically for your team and the bot. What changes is who at Ogma can see your content.
Standard encryption vs zero-access
Every server's ticket, message, knowledge, tip, CSAT and transcript content is already encrypted at rest with platform-managed keys. Zero-access is the separate Enterprise option that re-encrypts protected data with a key wrapped by your own KMS and locks Ogma staff out of it.
What problem this solves
Most SaaS products can read customer data at rest. That is fine for many teams, but regulated or security-sensitive organisations often need a stronger guarantee: the vendor's staff should not be able to browse support conversations in their own back office.
Zero-access is built for that. It doesn't replace your Discord permissions or dashboard access controls. It adds a layer that keeps Ogma staff out of your content while your team keeps normal access.
What you control
| You hold | Purpose |
|---|---|
| KMS key | Wraps and unwraps your server's data encryption key (DEK). Without access to your KMS, the encrypted data cannot be read by anyone, including Ogma. |
| LLM provider (optional) | Use Ogma's models (the default), or bring your own OpenAI or OpenRouter API key for AI replies and embeddings. |
Any KMS credentials and LLM API key you provide are stored encrypted. Ogma's servers decrypt them in memory when they call your KMS or LLM provider.
What is protected
When zero-access is on, these move from platform-managed encryption to your server's KMS-wrapped key:
Support conversations
- Ticket message content, author names and attachment URLs
- Ticket subjects, participant names and transcript previews
- Ticket event messages and who performed them
- Archived transcript files in object storage
Knowledge base
- Document titles and body text (uploads, pasted content, synced docs, learned tips)
Feedback and AI-generated notes
- CSAT comments and who submitted them
- Tip extraction content and reasoning
- Post-close ticket findings, frustration-detection notes and the daily brief
- User feedback messages and display names (for members of your server)
Identity handling
- Discord user IDs are stored as pseudonyms (one-way tokens used for lookups), with the real ID kept in an encrypted vault. Ticket workflows keep working without raw IDs in searchable columns.
What is not encrypted
- Vector embeddings used for knowledge search stay in plaintext so that search keeps working. See Embeddings and search.
- Operational fields such as timestamps, ticket status and tags, channel IDs and billing counters, so the product can function.
What Ogma staff can and can't see
On zero-access servers, Ogma's admin tools show redacted placeholders instead of your tickets, messages, knowledge, tips and feedback. The same lockout applies when an Ogma staff member views the dashboard as one of your users for troubleshooting.
Ogma also turns off AI telemetry and feedback forwarding that would store your content outside your encryption boundary.
There are two exceptions, both visible to you:
- Support access for one ticket. Anyone on your team with Tickets write access can choose Allow Ogma support to view this ticket on its dashboard page. Ogma staff can then read that ticket for up to 7 days. You can revoke it at any time.
- Emergency force-disable. If the server owner can't be reached, Ogma platform staff can force-disable zero-access as a last resort. This decrypts the server's data back to standard encryption and is recorded in the audit log.
How the lockout works
Ogma's servers unwrap your data key through your KMS whenever the bot or your dashboard needs to read or write protected data. Keeping Ogma staff out is therefore enforced by Ogma's application, not by cryptography alone. What your KMS gives you is the ability to cut off all access: if you revoke Ogma's access to the key, nobody can decrypt the data, and Ogma can no longer serve it.
How encryption works
Each server with zero-access gets its own data encryption key (DEK), a random key used to encrypt fields and files.
- When zero-access is turned on, Ogma generates a DEK.
- The DEK is wrapped (encrypted) with your KMS key. Only the wrapped form is stored in Ogma's database.
- When the bot or dashboard needs to read or write protected data, Ogma unwraps the DEK through your KMS in memory and uses it to encrypt or decrypt the specific fields.
Your KMS key
│
▼ wraps / unwraps
Per-server DEK ──► encrypts ticket text, knowledge, transcripts, etc.If someone copied Ogma's database without access to your KMS, they would see ciphertext, not your users' messages.
Field-level encryption uses AES-256-GCM. Each encrypted value is independently authenticated.
Supported KMS providers
| Provider | What you enter |
|---|---|
| AWS KMS | Key ARN or alias, and the region |
| Google Cloud KMS | Full CryptoKey resource name |
| Azure Key Vault | Key name or versioned key ID |
| HashiCorp Vault | Transit key name |
You can also paste provider credentials (JSON) if Ogma can't use ambient cloud identity. They are stored encrypted.
The setup form also lists a Local (development) provider. It wraps the key with an Ogma platform key rather than yours, so it is not zero-access in any meaningful sense. Don't use it for a real server.
Before enabling, Ogma tests your key with a full wrap and unwrap cycle.
Bring your own LLM
By default, zero-access servers use Ogma's models for AI replies and embeddings. Your content is decrypted in memory to send it for inference, and is not stored in plaintext.
If you would rather use your own provider account, choose OpenAI or OpenRouter and enter your API key. You can also set a custom base URL, for example for a proxy. If your key is revoked or out of quota, AI features for the server stop until you update it.
Setting it up
The Discord server owner sets up zero-access from the dashboard. If you'd like help planning it, contact us.
Before you start
- Enterprise plan on the server. Upgrade from the Billing page.
- A KMS key that Ogma can use to wrap and unwrap small payloads (the DEK).
- An LLM API key, if you want to use your own provider.
- Time for the backfill that re-encrypts your existing data. It runs straight after you turn zero-access on and may take a while on large histories.
Steps
- Open Billing → Zero-access encryption → Set up encryption.
- Overview: check the prerequisites.
- Encryption keys: choose the KMS provider and enter the key details, then select Test KMS connection.
- LLM provider: Ogma's models, or your own OpenAI or OpenRouter key.
- Review: confirm the settings and set a disable password of at least 12 characters. You need it, and server ownership, to turn zero-access off later. Ogma can't reset it, so store it somewhere safe.
- Enable encryption: zero-access is turned on and your existing tickets, messages, events, knowledge and transcripts are re-encrypted. You see counts of what was processed.
Billing managers can re-run data encryption later, for example after rotating your KMS key.
After it's on
In Discord: no change. Users open tickets, staff reply and Ogma answers from knowledge as usual.
In your dashboard: no change for your team. Tickets, knowledge, Playground and transcripts display normally.
For Ogma support: when you contact us, we can't read your ticket or knowledge content unless you grant support access to a specific ticket. We can still see non-sensitive metadata (server name, plan, ticket counts, timestamps) to run the service.
Embeddings and search
Knowledge search relies on vector embeddings. On zero-access servers, document text is encrypted but embeddings are stored in plaintext, so similarity search keeps working.
Residual exposure
Plaintext embeddings can reveal approximate topics to someone with database access, even though the document text is encrypted.
The setup form has an Encrypt knowledge embeddings option. It currently has no effect: embeddings stay in plaintext whichever way it is set.
Key rotation and recovery
- LLM key rotation: contact Ogma support to replace your API key. Content doesn't need to be re-encrypted.
- KMS key rotation: coordinate with Ogma support to re-wrap your server's DEK, then re-run data encryption if needed.
- Loss of KMS access: if your KMS key is deleted or Ogma's permissions are revoked, the DEK can't be unwrapped and the encrypted data is unrecoverable. Treat the key like a database backup encryption key.
Record which KMS key protects each production server in your disaster-recovery runbooks.
Turning zero-access off
Only the Discord server owner can turn zero-access off, from the same page. You confirm with the server name and your disable password. A background job then decrypts tickets, knowledge, transcripts and related data back to standard encryption. You can leave the page; progress appears under Background jobs. Afterwards, Ogma staff can see your content in admin tools again.
Don't delete your KMS key until the job has finished.
Security review checklist
Use this list when evaluating zero-access internally:
- [ ] Per-server DEK wrapped by a customer-controlled KMS key (not the Local provider)
- [ ] Ticket, knowledge, transcript and identity fields encrypted at rest
- [ ] Discord IDs tokenised; raw IDs kept only in an encrypted vault
- [ ] Ogma admin views and support impersonation show redacted content
- [ ] Per-ticket support access and emergency force-disable understood and accepted
- [ ] AI telemetry disabled for zero-access content
- [ ] LLM provider chosen (Ogma's models or your own key)
- [ ] Backfill completed for historical data and transcript files
- [ ] Plaintext embeddings accepted as residual risk
- [ ] Disable password stored securely
Frequently asked questions
Is zero-access the same as end-to-end encryption in Discord?
No. Messages in ticket channels are visible to your staff and the bot under normal Discord permissions. Zero-access protects data at rest in Ogma's systems and keeps Ogma staff out of it. It doesn't encrypt Discord's own transport or change what your staff see.
Can Ogma support debug a problem with a ticket?
Only if you grant support access to that ticket. Otherwise support relies on your description, reproducible steps and non-content logs (errors, timestamps, configuration).
Does encryption slow down tickets?
Field encryption adds a small overhead. Ticket flows stay responsive. The backfill is the only step that may take noticeable time on large histories.
Can we turn zero-access on later?
Yes. Move the server to Enterprise, complete setup, and let the backfill re-encrypt your existing data before you rely on the lockout.
