Tessera docs

Launch Tessera

Launch

Functions

Secrets

Store API keys and credentials per environment and read them safely in functions.

Setting a secret

Terminal
npx tessera secrets set STRIPE_KEY sk_live_… --env productionnpx tessera secrets list --env production

Reading a secret

TypeScript
export default fn(async ({ secrets }) => {  const stripe = new Stripe(secrets.STRIPE_KEY)})

Secrets are encrypted at rest, scoped to one environment and never included in logs.

Preview branches

Branches inherit secrets from the environment they were created from unless you override them.

Was this helpful?

© 2026 Tessera, Inc.

Support

Status

Create a free website with Framer, the website builder loved by startups, designers and agencies.