Main Street AI ResourcesFree. No sign-up needed for this guide.
Resources / Main Street Security / Level 3, step 17

Level 3 of 3 · step 17 of 18

Change any key that leaks the same day

Deleting the file does not make the old key safe.

Time it takes: 15 minutes per key

Why this step matters now

Once a key has been in code, a chat, an email or a screenshot, assume someone copied it. Leaked cloud and AI keys can be used within minutes to run up a bill in your name.

Change a leaked key in this order

  1. Make a new key in the provider's dashboard and put it where the old one was.
  2. Revoke the old key so it stops working.
  3. Check the provider's usage and billing for activity you do not recognize.
  4. Then clean the old key out of code, chats and documents.

Message whoever runs your website, app or AI tools

Send it to: Your web developer, IT company or the person who set up your AI tools. Change any word you like.

Can you check six things for us this month? 1. Every test or staging copy of our site asks for a login, or is deleted. 2. Every API we use requires a key or login, including internal ones. 3. Each AI agent or document search tool can reach only what its job needs, and a human being approves anything it sends, pays or deletes. 4. Secret scanning is on for our code, with no working keys in its history. 5. Any key that leaks gets changed the same day. 6. The office router has no unused port forwards, and UPnP is off. Tell me which ones are done and what the rest would take.

If something goes wrong, try this

How you know this step is doneThe old key no longer works and the bill shows nothing you did not do.

If this helped, send it to another business owner you would hate to see scammed.

See more tips like this. I send new ones as I make them, each a link back here. Unsubscribe anytime.