When to rotate
- A leak, confirmed or suspected. Don’t wait to be sure.
- Routine hygiene, on whatever schedule your security policy sets.
- Staff or system turnover, when whoever held the secret should no longer have it.
Rotate
Trigger a rotation from the portal, or call the API:Swap it in
Replace the value wherever the agent reads it:If you can’t rotate in time
If the agent is outside your control, or the exposure is serious enough that you want it off now, revoke it instead of rotating — set its status torevoked:
What to expect
- No outage during a normal rotation — the grace window covers the overlap.
- Tokens already minted under the old secret keep working until they expire; they’re signed by MudraID, not tied to the secret directly.
- Revocation is faster and harsher than rotation — use it when you need containment over continuity.

