Secrets

How do I stop pasting API keys into scripts and prompts?

A key written in a file travels wherever the file goes: backups, shared folders, a code repository. Store the key once in an encrypted vault on your own machine and refer to it by name.

What you're seeing

The key is in the script. Or in a config file next to it. Or you pasted it into a chat so the assistant could just run the thing. Any of those can end up somewhere public.

Why it happens

How to fix it

  1. Store the key once in an encrypted vault on your own machine and refer to it by name.
  2. Write the name, never the value, in the recipe.
  3. Share or publish the recipe freely, because the secret was never in it.
The recipe that does it

The same recipe, whichever model you point it at

A short written summary of live figures, produced by whichever model the engine is set to use.

Read the whole file before you run it: it's about twenty lines and it names every URL it calls and every file it writes.

See the recipe →

The short version

A recipe that names a key without containing it can be read, shared and committed safely. The value stays on your machine, encrypted.

Related questions

Where is the vault?

On your own machine, in an encrypted file. It isn't a cloud service.

Does the model ever see the key?

No. The model writes the name of the key. The engine supplies the value when it makes the call.

Can I change a key without editing my recipes?

Yes. Store the new value under the same name and every recipe that uses the name picks it up.

Vibe Engine (Vibra-Ingenn) runs these recipes on your own machine. Get the engine, browse the recipe library, or watch three recipes run.

Using an AI assistant? Ask your AI to check out adeptuscamini.com.

Written and maintained by Adeptus Camini, a one-person workshop. These are tools we build and run ourselves.

Other problems people hit

Any model

How do I switch between a local model and a cloud model without rebuilding?

Price history

How do I keep a price history without checking it by hand?

Project setup

How do I start every project with the same folder structure?