Security
Project variables
Each project keeps the environment variables its apps need per environment. Your AI tool starts your app with them: no more pasting keys into .env files.
Updated
On this page
Each project keeps the environment variables it needs for each environment: Local, Staging, Production and any your workspace adds. Your AI tool starts your app with them, so nobody pastes account ids or keys into a .env file again.
A project’s variables are its Vault items
A secret in the Vault with a project, an environment (or All) and a variable name is that project’s variable there: nothing to link or retype. Plain values and “your own” slots are Vault items too: in Add a secret, pick Value (shown in full to everyone who can use the project’s environment, never a secret) or Your own (a hint; each person’s personal key with that variable name fills it). The variables you had before moved into the Vault the same way; proxy passes stay as they are.
If two items share a variable name in one environment, the newest is used; one set for an environment wins over one for All.
Four kinds of variable
- Value: plain settings like an account id, a region or a URL. Everyone in the workspace sees them. Something that looks like a key is refused here: add it to the Vault and link it as a secret instead.
- Secret: a link to a secret in the Vault. Only people who can open that secret get its value. For now that’s Standard secrets; Sensitive secrets come later, and Critical secrets never go into an app this way.
- Proxy pass: for model APIs your workspace pays for. A short-lived pass is made when your app starts and lasts up to 12 hours, so the provider’s key never reaches your laptop. It always comes with the proxy’s address in
OPENAI_BASE_URL(orANTHROPIC_BASE_URLbeside anANTHROPIC_name), shown as its own row under the pass: “Comes with OPENAI_API_KEY: removed with it”. Copy both when you set up Vercel, CI or a.envfile by hand; the key alone sends your app to OpenAI itself, which refuses the pass. A Vault secret your project gets through the proxy, and a keyless item, bring their base URL the same way, named after the variable (ZAI_API_KEYcomes withZAI_BASE_URL). - Your own: something each developer brings, like their own API key. Keep it in
.env.local, or add it to the Vault as a personal key with the same variable name, in the same project and environment.
A variable can be set for All environments, or for one. A variable set for one environment wins over the All one with the same name.
Find a project’s variables
In the Vault, open ⋯ → Projects (the first section of Vault settings). Each project shows its team, its managers, how many secrets it has and how many of its environments have someone on them. Press the project to open its page, and pick the environment from the menu beside its name.
On the page, Show narrows the list: Secrets, All environments, or Not set for me (secrets you can’t open). A secret’s row says who can open it; Open takes you to the secret itself if you can.
Start your app with them
Ask your AI tool: “start pnpm dev with yomenie’s Local variables”. It gets the list from Yomenie and runs your command with them. Behind the scenes it gets a one-time link that works for two minutes, and runs:
eval "$(curl -fsS '<link>' || echo false)" && pnpm dev
If the link can’t be used, the command doesn’t run, so your app never starts half-configured. Values go to your app, never into the conversation with your AI tool.
Your local settings win. Anything already set in your terminal, .env.local or .env is kept as it is. Yomenie only fills in what’s not there, and tells you what’s still missing and where to get it.
Once a day, your passkey
The first time each day your AI tool needs one of your Vault secrets, it gives you a link. Open it and press Unlock with passkey. That AI tool can then use the secrets you can open until 4:00 the next morning, and never for less than 8 hours. Lock it any time with Lock now on a project’s Variables page; signing that AI tool out in Settings → Sessions locks it too.
Each secret’s owner gets one notice a day when someone uses it this way.
What’s recorded
Each time variables are used: who, which project and environment, which variables and from which AI tool. Never the values. Owners and admins see everyone’s under Last injected and History; everyone else sees their own.
Add or change variables
Every member may add, change and remove variables, Production too; every change is in the audit log. Linking a secret gives nobody access to it.
On the project’s page, press Add a variable: a row opens at the bottom of the list. Type the name, pick the kind and fill in the one field it needs, choose In: Local or In: All, and press Enter. Escape closes the row and keeps what you typed. To change or delete a variable, use ⋯ on its row; changing one that’s set for All asks whether the change is for every environment or only this one.
Or ask your AI tool (“add CLOUDFLARE_ACCOUNT_ID to yomenie for every environment”). The tools are get_project_variables, set_project_variable, remove_project_variable, unlock_project_variables, lock_project_variables and list_variable_injections.