From demo to production · Carousel

Your app's keys, and how to keep them safe

When an AI assistant works with you on the code. No technical terms, just one picture: a safe, a note, and who sees what.

The carousel as it was published, slide after slide. Below, the same content as text.

What's the problem at all?

Who holds the keys

Every app has "keys": small passwords that give access to the important things. Payments, the customer database, email sending. Whoever holds them touches the real money and information.

  • When an AI assistant runs the app to test it, the app needs the real keys.
  • The question: how do you give it them without them leaking through the assistant?

The problem isn't the AI. It's that the keys and the assistant are in the same room.

The solution: a safe and a note

A "secrets manager" in plain language

The tool called a "secrets manager" is one safe for all the keys. Instead of writing the real key in files, you write only a note that points to the safe.

  • The real key comes out of the safe only at the last moment.
  • It goes straight to the app, not to the assistant.
  • The assistant sees only the note, never the key.

The safe hands the key straight to the app. The assistant is left with only the note.

Does the assistant "remember" them?

The answer is reassuring

This is the important question, and the answer is simple: the assistant doesn't remember something it never saw. If the key went straight from the safe to the app, it has nothing to remember.

  • There's only one way it does get exposed: if the key is printed to the screen, inside an error message or an activity log.
  • The assistant reads everything on the screen.

The only danger: don't let the key appear on the screen. There are tools that redact keys automatically, use them.

Rules of thumb

Four that will keep you organized

Four rules, and most of them require no technical knowledge:

Test keys
even if they leak, they don't touch real money.
Not in the chat
what's written in a conversation stays in the conversation.
A safe, not files
there are ready tools like 1Password or Doppler.
The strong ones you don't give at all
the database and payments are kept only for the place where the site goes live.

Most leaks aren't a sophisticated break-in. They're a key pasted in the wrong place.

Not all keys are equal

Play versus real

The only question that matters: if this key rolls around in the street, what's the damage?

Real keys
the live system, money and customers. Only where the site goes live.
Play keys
a practice copy, or a version that runs only on your machine. Fine to give the assistant.

"If someone finds the key in the street, can it hurt the business?" If yes, it never comes near the assistant.

Local versus cloud

In short

The assistant has two ways to work: on your computer (local), or on a remote server (in the cloud). The difference that matters to you:

  • In the cloud there's a shared settings box. Anyone in the same environment sees it.
  • Putting a real key there is like hanging a house key on a notice board.
  • There, only play keys. The real ones only where you publish.

A safe for the keys, a note for the assistant, play keys for the work, and the real ones only where the site goes live.

Your keys. Only you hold them.

The assistant builds with you, but the jewels are kept in one place only. That's the whole guide.

What closes the chapter

Your keys. Only you hold them.

Did a post meet you in your system?

Half an hour, the system open, free. You leave with your open decisions.

or on WhatsApp, if it's a single question. Nothing is stored on the site.