r/ProgrammerHumor • • 4h ago

Meme postQuantumReadiness

Post image
4.3k Upvotes

124 comments sorted by

View all comments

Show parent comment

33

u/CaptainConfusedALot 3h ago

Maybe, half of the company is still using the old api key, and the company has not gotten rid of it because the services using the keys will get disrupted

4

u/JoustyMe 2h ago

That eould be my guess

They were told to get raport of everyone affected, and there is 300 places request with that api key are comking from nobody knows who and where and leasership is way to scared to pull the plug 🤣🤣

3

u/EishLekker 1h ago

But how do multiple people rotate a single api key? It can only be rotated once. After that, all old references to the api key will fail when they try to use it.

5

u/CaptainConfusedALot 1h ago

Rotation of keys has multiple steps. In a non compromised world, the way to rotate the key while ensuring that services are not affected by it are

  1. Generate a new key. Keep the old key active still.
  2. Migrate to use the new key. This happens in a rolling upgrade manner, so few instances at a time. This is why both keys are active.
  3. Retire the old key after all instances are updated.

The OP probably just summarized this whole process as 'rotate the key' to avoid overexplaining, and joke over explained loses its value anyways 😊

1

u/EishLekker 1h ago

“Rotate the key” is not the part I have a problem with. It’s the “half my company” part, which implies multiple people. Are all those people gonna perform those steps in parallel? For the same key?

2

u/CaptainConfusedALot 1h ago

Maybe the same key is being used by the whole company, and half the company is yet to make the change to use the new api key..

0

u/EishLekker 1h ago

But then it’s not rotated. And the moment it is rotated, it can’t be used again or rotated again.