Keys & Connections

Every credential and API a system depends on — held safely, proven working, and never shown.

After this course: You can run a system that talks to a dozen providers without ever seeing a secret, and you know — not hope — which of your keys and connections actually work today.

9 lessons, 87 minutes of reading. $49, yours for good.

  1. A key you can see is a key you have leaked (free): The owner wanted a dashboard page listing every key the system holds, and wanted the AI systems to be able to read it too. The obvious build shows the keys. Build every view of your credentials from names and verdicts only. If a value can reach a screen, a log, a prompt or a note, assume it already has.
  2. A key in the vault is not a working key: Two new free AI provider keys were added the same night. Both were saved, both showed as set, and one provider's console even showed generous per-minute limits for its models. A credential is proven by a real call that does the real job, on your own account — not by being stored, not by a dashboard, not by a pricing page.
  3. The provider list in your library is already out of date: A routing library listed which models each free provider offered. Pinning one of them returned 404. So did two more. Another provider returned HTTP 400 on every request that used tools. Ask the provider, not the catalog. Keep your own small, tracked override of the catalog, and prove each entry with a real call before trusting it.
  4. Every connector is a data-sharing decision: A fast free model benchmarked faster than the local one for the small helper that reads every message the owner types. Switching it over looked like pure gain: quicker replies, 4 GB of GPU memory freed. Before routing anything to a new provider, ask what data it will carry, not just how fast it is. Make that choice explicitly, per kind of data, and record who made it.
  5. A dashboard can only see what it was told about: The new keys dashboard reported 73 credentials. The vault held 111. A key that had been working all evening was listed as "unset". Make the thing itself the source of truth for WHAT exists. Checkers and catalogs add verdicts on top; they must never decide what is listed.
  6. Dead webhooks do not complain: A set of channels had been quiet for a while. That seemed normal for a paused project. Check connections with a harmless live request on a schedule, and keep paused things visible — dimmed, labelled, out of the counts — rather than hidden.
  7. Build a ladder, not a favourite: One free provider answered in two seconds, then an hour later in forty-seven. Another was perfect until it hit its daily limit. Order several independent providers into a ladder, each with a time budget and a quality check, and put the slowest-but-always-there option last.
  8. A key's history outlives the key: A dashboard said a credential should be rotated every 180 days. It could not say when it last was. Nobody could. Keep a small written history beside every credential — created, rotated, removed, and notes with who wrote them — and make recording it part of storing the key, not a separate chore.
  9. Discord turned the bot away at the door: A small watcher was built to post new job openings to a private Discord channel. Every test passed, the safety gate was clear, and a full rehearsal of the install applied cleanly. The owner pressed install. It failed. He pressed it again. It failed the same way: HTTP 403 Forbidden, at the step that creates the channel. Every service you call has its own rules about how a caller introduces itself. Identify yourself per service, not per program. And a check that stops before the real outside call proves everything except the outside call.

Every course