BlogBYOK Files

What Bring Your Own Key (BYOK) Actually Means

Bring your own key (BYOK) is showing up everywhere. Here's what it actually means, why it changes who controls your data, and where it matters most.

Bahroze Ali
Bahroze Ali
·6 min read
What Bring Your Own Key (BYOK) Actually Means

Bring your own key, or BYOK, used to be an enterprise checkbox. Now it's everywhere: AI tools that run on your own OpenAI or Anthropic key, email APIs, analytics, form backends. The phrase keeps showing up on pricing pages, and it quietly changes who controls your data.

Here's what bring your own key actually means, why it changes your relationship with a tool, and where it matters beyond forms.

What Bring Your Own Key Means

Bring your own key means you supply the API credentials, and the platform uses your keys to do the work on your behalf, instead of reselling you access through its own account.

This is already how most things work at the infrastructure level. You bring AWS credentials to Terraform. You bring a Stripe secret key to your payments library. The tool orchestrates; the provider bills you directly. Nobody adds a margin on top of your Stripe usage. Stripe does the charging.

"You're not paying for the integration. You're paying for the markup on your own API keys."

The opposite model, call it bring-your-wallet, is where the tool holds the keys, makes the calls on its own account, and bills you a marked-up rate for the privilege. BYOK flips that ownership back to you.

Why BYOK Changes the Trust Model

When the keys are yours, the relationship with the tool changes in three concrete ways:

Cost accrues to you, not a middleman. If you're paying Resend $0.10 per 1,000 emails, that's the cost. There's no integration tier marking up an API you already pay for.

You can leave. Revoke the key and the tool's access ends instantly. Your data isn't hostage to a credential the vendor controls, and there's no migration tax to switch providers.

Security responsibility is explicit. Holding someone's third-party credentials is real responsibility. The honest version of BYOK is verifiable, not just promised:

  • Encrypted at rest. Keys are encrypted (OSForms uses AES-256-GCM) before they touch the database, with the encryption key in the environment, not the DB. Dump the database and you get ciphertext.
  • Never logged. Decrypted in memory for the call, then discarded. Not in logs, errors, or storage.
  • Scoped access. OAuth integrations request the narrowest scope that works. OSForms' Google Sheets integration uses drive.file, not full-Drive access.

"You don't have to trust a description of how your keys are handled. When the code is open source, you can read the implementation."

BYOK in Practice With a Form Backend

A form backend is a clean example, because every integration it offers runs on a key you already own. In OSForms, adding one looks like this:

  1. You paste your API key (Resend, a webhook signing secret) or complete an OAuth flow (Google Sheets).
  2. The credential is encrypted at rest with AES-256-GCM.
  3. When a submission arrives, OSForms decrypts it in memory and makes the call.
  4. The decrypted key is never logged or persisted beyond that execution.
Submission → OSForms → decrypts your key → calls Resend API → logs result
                                                 ↑
                                     Resend bills your account

The practical payoff shows up on the pricing page. Here's what the same integrations cost when the tool owns the keys versus when you do:

FeatureOSForms (BYOK)FormspreeFormBold
Email forwardingFree$15/mo$9/mo
Google SheetsFree$15/mo$9/mo
WebhooksFree$9/mo$9/mo
Open sourceYesNoNo
Self-hostableYesNoNo

Every paid integration above is executed with credentials you supply. The charge is for an API call to a service you already pay for. For a hands-on example, see how to send form email notifications with Resend on your own key, and the docs cover self-hosting if you want to own the whole stack.

Where Else BYOK Matters

The form backend is just one instance of a pattern worth demanding wherever your data and credentials are involved:

  • AI features. Tools that run on your own OpenAI or Anthropic key, so inference cost and prompt data stay on your account, not the vendor's.
  • Email and messaging. Resend, Postmark, Twilio: bring the key, pay the provider, skip the per-message markup.
  • Analytics and storage. Pipe events and files into infrastructure you control rather than a silo you rent.

The test is simple. If a tool charges you for something that runs on a credential you provide, ask why. BYOK isn't a novel idea; infrastructure tooling has worked this way for years. It's just honest, and it's worth choosing the tools that do it.

OSForms is built entirely on this model. The integrations are free because they cost us nothing to run (you bring the key, you bear the provider cost), and the code is open source so you can verify every word of that.

Try it free, no card required: osforms.com/signup.

FAQ

Frequently Asked Questions

01

What integrations does OSForms support?

Resend (email notifications), Google Sheets (row append on each submission), and custom webhooks with HMAC-SHA256 signatures. All three run on your credentials and are free.

02

How does OSForms make money without charging for integrations?

Submission volume. Integrations are never gated; only the volume of submissions is limited on the free tier.

03

Can I self-host OSForms?

Yes. Clone the repo, point it at your own MongoDB, set your environment variables, and deploy anywhere. Nothing in the codebase requires the hosted version.

04

How is the credential encryption key managed?

It lives in the ENCRYPTION_KEY environment variable: 64 hex characters (32 bytes). You generate it; the OSForms team never sees it. In self-hosted deployments it is entirely yours.

05

What happens if I delete my OSForms account?

All submissions and encrypted credentials are deleted. Data is stored as standard JSON so you can export at any time before deletion.

06

How is BYOK different from building my own serverless function?

A serverless function handles one integration with no storage or dashboard. OSForms handles storage, integration logs, spam protection, and a submissions dashboard. You just change your form action attribute.

Continue reading

Own your form backend

Bring your own API keys. 100 free submissions a month, every integration included, no lock-in.

Get Started Free →
byokdata-ownershipopen-sourceapi-keys