Consistency is a security feature
October 23, 2026 · 7 min read
Wednesday night I was walking upstairs to bed when I saw a headline. The platform that hosts most of our product catalog services had a security incident.
I figured it could wait until morning. Then I kept reading. They had paused all deployments. Nobody on the platform could ship anything. Then an email came in from another one of our providers. They had already shut off our API key on their own, without waiting for us to ask.
When a company freezes everything and other companies start acting on your behalf, it isn't a morning problem. I turned around and went back downstairs.
The hour
I opened two things: our secrets manager and our database. Then I went down the list. Every service that ran on that platform, every key it held, every data pipeline it touched. Rotate, update, confirm, next.
It took about an hour.
A week earlier, it would have taken the night and most of the next day. Not because the work is hard. Because the hard part is knowing what you're looking for.
Why it was an hour
This year I built a lot, fast. Things to test with the team, built straight into our platforms because I didn't have a better way to try them. Some I moved on from and never cleaned up. Two tools that did nearly the same job reached the same kind of service through two different APIs. Two APIs means two keys. Multiply that across a year of building and you get a list nobody can hold in their head, including the person who built it.
Last week I cleaned it up. Every repo cut down to what's actually in use. Every integration pointed at the same API for the same job. Repos split by what they do: one brings data in, one processes it and pushes it to the tools the team uses, one faces the team, one faces clients. And one repo over all of them with a summary of what each one does.
So on Wednesday night the list was short, and I knew where every item on it lived.
Consistency turned out to be a security feature. Every duplicate integration is one more key to find in the middle of the night.
It wasn't perfect. A second sweep the next day turned up a few more to rotate. But a few is a different problem than not knowing where to start.
I wasn't cleaning up for this
Last week I wrote about starting to learn how systems are supposed to be built. The cleanup was for that. I wanted a map of the whole codebase, so that when I learned something new, I'd know where it could go and where to test it. And I wanted to be ready for January 1, when the whole team starts on these tools.
I cleaned up to make room for learning. It paid off in an incident a week later.
The next morning
I'd been thinking about moving to one of the big cloud providers for a while. Not just to host apps, but to build a real data foundation. What held me back was the complexity I expected. Wednesday night settled it.
So Thursday I read everything I could about Google Cloud and started moving services. By the end of the day our first and biggest one was running there, the pipeline that keeps our product information current. Today I'm moving the next ones.
It's a lot more than pushing a deploy to a platform that handles the rest for you. Standing the services up again, the secrets, the billing, all in a day. It showed me how much the old platform had been carrying. Someone else had been holding all of that complexity.
It was also a lot of fun. And it felt different. Not like handing work to someone else. More control, and more responsibility with it.
Data as the foundation
That sent me down the next rabbit hole: our data security policy, and what we want our data to be a few years from now.
My guess is that most branded merchandise companies our size run a CRM connected to a supplier catalog and stop there. But we're starting to talk with more enterprise clients, and they want to know where their data lives and who can touch it. Being able to show we've done everything in our power is worth something. I hadn't thought of security as a competitive advantage. I do now, and I'll write more about it as I learn.
For most of this year, data was something our tools used. This week it started to feel like something the business is built on.
The part I haven't solved
Right now I'm the only person on the team who could have done that hour. That's the exposure I'm left with, more than any key.
Two weeks ago I wrote that a system is never set up. It's kept up, by the people closest to it. January is about making that true for the back end too: training the team on what our tools do and how the pieces connect. The summary repo is the first way in. I wrote it so I could find things. Now it has to work for someone who didn't build them.
Here's a prompt you can run on any repo before you need it:
List every external service this repository connects to. For each one, report the API or SDK it uses, the name of every secret or environment variable it reads, where each secret is stored (env file, secrets manager, platform dashboard), and the files where each one is read. Then flag any service this repo reaches through more than one API or key, and any secret that is defined but never used.
Report secret names only. Never print, copy, or summarize a secret's value. Do not edit files.
Run it on each repo. If the same service shows up with different keys in different places, that's your list. Better to have it on a Tuesday afternoon than a Wednesday night.
Jordan
P.S. If your hosting platform emailed you tonight, how long would your hour be? Reply and tell me.
Get new posts delivered to your inbox.
Read more posts →