Blog/Engineering/Checklist

Provider key migration: an afternoon per service

3 June 2026Companion checklistObstruo team
Getting provider keys out of your services

Companion to "Getting provider keys out of your services". Engineering guidance, not security advice for a specific environment.

0 / 39

The migration is small. The project around it is not, and almost all of that project is inventory and revocation. Plan accordingly.

Phase 0: find out what you actually have

Do this before touching any service. It usually takes longer than every code change combined.

Expect to find keys with no owner. Record them anyway; they are the ones revocation will surface.

Phase 1: pick the pilot service deliberately

Not the simplest service. A representative one.

Phase 2: the two-line change

Then verify the things that do not always survive:

Phase 3: compare before you cut over

Phase 4: roll out

Phase 5: revoke, which is the actual migration

Everything before this point is additive and reversible. This step is neither, which is why it works.

Phase 6: keep it that way

What to tell your security reviewer

Three sentences, and they are all inventory claims rather than architecture claims:

  1. Provider credentials exist in one vault, held by one layer, and no application holds one.
  2. Every call is attributable to a project, and every project has a spend ceiling.
  3. Revocation of any application key is a single action with a known blast radius.

If any of those is not true yet, the migration is not finished, whatever the code says.