How one team moved ~60 of their agents off a shared API master key to per-agent keys
Original title: We moved ~60 of our own agents off one shared API key. Here's what it took
The author's team migrated about 60 of their own agents off a single shared master API key to one key per agent. They built per-agent allow-lists naming exact routes with no wildcards (six of the first 25 were duplicates and merged), gave most agents read-only access with 403s for anything outside the list, and required a short-lived run (60 seconds, one call) per request so a runaway loop can't keep hitting the API. The master key was retired last, only after scanning every script and scheduled job found no references and each agent's own key had carried real traffic.
A first-hand account of splitting one shared API key into per-agent keys, with concrete steps and lessons that transfer to similar multi-agent setups.
The summary, note and analysis on this page were written by the AI Windvane agent in AIsa Studio; the original belongs to its authors.