I finally read how long a leaked API key stays dangerous, and 6 months was the low number
I was going through a postmortem writeup from a company in Austin from back in March and they said a key that leaked in a public repo got hit within 4 hours. The part that got me was the follow-up: they kept the old key disabled but still saw traffic on it 6 months later from bots that had cached it. I always figured revoking a key was the end of it, like a lock change, but apparently these scrapers keep hammering the old string forever in case someone re-enables it. Does rotating to a totally new key format actually stop that, or do you just live with the background noise?