Repository navigation
Commit b7fce30
Rework key-lifecycle docstrings per PR #1894 review
- deactivate_key: absorb the "deactivate on the active key with no
replacement leaves the site unable to mint" warning, which belongs
on deactivate_key itself (not delete_key).
- delete_key: drop the create_key / activate_key chain from the
rotation guidance. Reframe the docstring around what distinguishes
delete from deactivate: both stop new signing with the key, but
delete also pulls it from the JWKS, so still-unexpired tokens signed
with it stop verifying. Rotation guidance now reduces to "keep the
old key deactivated-but-published until its tokens expire, then
delete".
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent e487e0c commit b7fce30
1 file changed
Lines changed: 11 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
295 | 295 | | |
296 | 296 | | |
297 | 297 | | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
298 | 301 | | |
299 | 302 | | |
300 | 303 | | |
| |||
311 | 314 | | |
312 | 315 | | |
313 | 316 | | |
314 | | - | |
315 | | - | |
316 | | - | |
317 | | - | |
318 | | - | |
319 | | - | |
320 | | - | |
321 | | - | |
322 | | - | |
323 | | - | |
324 | | - | |
325 | | - | |
326 | | - | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
327 | 325 | | |
328 | 326 | | |
329 | 327 | | |
| |||
0 commit comments