Environment variables & secrets

How to add API keys without putting them in files.

  • 3 min read
On this page
  1. Why not just put them in .env
  2. Adding a secret
  3. The agent can request secrets

Why not just put them in .env #

Secrets in files are a footgun: they end up in git, in agent context, in screenshots. Vibe stores secrets encrypted in the database and injects them as env vars only at container runtime.

Adding a secret #

  1. Open Settings → Secrets Or ask the agent: “add a secret named STRIPE_API_KEY.”
  2. Paste the value It's encrypted before it touches the DB. No file is created.
  3. Use it in code Read it via process.env.STRIPE_API_KEY from any backend route.
Secrets panel showing key names with masked values

The agent can request secrets #

If you ask the agent to build a Stripe checkout, it will say something like “I need a STRIPE_API_KEY.” It can declare the secret slot, but you fill in the value — the agent never sees it.

Skip the docs.Just describe it.

Tadabase AI builds it, hosts it and keeps it running. Real backend, real domain, real app.

Plain English. It asks follow-up questions like a real developer.

  • 14-day free trial, no card
  • Unlimited app users
  • Live on your own domain