Hacker News new | ask | show | jobs
by cortesoft 64 days ago
rotations are usually two phased. Add new secret/credential to endpoint, and both new and old are active and valid. Release new secret/credential to clients of that endpoint, and wait until you dont see any requests using the old credential.

Then you remove the old credential from the endpoint.

1 comments

Note that you risk reinfection if the attacker can somehow retain access while you rotate out secrets...