Skip to content

Commit acf8bdd

Browse files
committed
docs(operations): the key runbook says what revoking a key that isn't active does
1 parent d92c028 commit acf8bdd

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

‎docs/dev/operations/incidents.md‎

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,11 @@ too.
5454
```
5555

5656
On the dashboard, select **Revoke** next to it on the **Signing keys** page.
57-
The `next` and `retiring` keys go with it, since their private keys were
58-
stored beside it, and a new key signs at once. A retired key's private key is
59-
already erased.
57+
When the revoked key was `active`, the `next` and `retiring` keys go with it,
58+
since their private keys were stored beside it, and a new key signs at once.
59+
Revoking any other key removes only that key. A retired key is never in the
60+
key set auth publishes, so after revoking a retired `primary`, skip steps 4
61+
and 5.
6062
4. Wait 15 minutes after the revocation. Each replica serves its own copy of
6163
the key set and reloads it each minute, and one that can't reload stops
6264
serving within 15 minutes, so only then has every replica dropped the
@@ -74,8 +76,8 @@ apps refresh and receive tokens signed by the new key.
7476

7577
### Check that it's over
7678

77-
- `auth-service keys list` shows a new `active` key, and none of the revoked
78-
ones.
79+
- `auth-service keys list` lists none of the revoked keys, and a new `active`
80+
key if you revoked the active one.
7981
- `https://auth.piquel.fr/.well-known/jwks.json` no longer lists their IDs.
8082
- An hour after step 5, verifiers that respect `Cache-Control` have dropped them. Until
8183
then, whoever holds a revoked key can mint tokens that third parties accept,

0 commit comments

Comments
 (0)