Skip to content

Commit 33c7437

Browse files
authored
Merge pull request #921 from DuendeSoftware/ka/key-rotation-chart
Key Rotation Schedule Chart
2 parents f13af09 + 2b10346 commit 33c7437

File tree

1 file changed

+36
-2
lines changed

1 file changed

+36
-2
lines changed

src/content/docs/identityserver/fundamentals/key-management.md

Lines changed: 36 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,42 @@ has passed, keys are removed from discovery, and optionally deleted.
6060

6161
The default is to rotate keys every 90 days, announce new keys with 14 days of
6262
propagation time, retain old keys for a duration of 14 days, and to delete keys
63-
when they are retired. All of these options are configurable in the
64-
`KeyManagement` options. For example:
63+
when they are retired.
64+
65+
```mermaid
66+
---
67+
config:
68+
theme: default
69+
gantt:
70+
useWidth: 800
71+
useMaxWidth: false
72+
---
73+
gantt
74+
title 90 Day Key Rotation Schedule per Signing Algorithm
75+
todayMarker off
76+
77+
section RS256
78+
Signing :active, rsa_s, 2025-01-01, 76d
79+
Retire :rsa_r, after rsa_s, 14d
80+
Delete :crit, rsa_d, after rsa_r, 1d
81+
82+
Announce :rsa_na, 2025-03-03, 14d
83+
Signing :active, rsa_ns, after rsa_na, 62d
84+
Retire :rsa_nr, after rsa_ns, 14d
85+
Delete :crit, rsa_nd, after rsa_nr, 1d
86+
87+
section ES256
88+
Signing :active, es_s, 2025-01-01, 76d
89+
Retire :es_r, after es_s, 14d
90+
Delete :crit, :es_d, after es_r, 1d
91+
92+
Announce :es_na, 2025-03-03, 14d
93+
Signing :active, es_ns, after es_na, 62d
94+
Retire :es_nr, after es_ns, 14d
95+
Delete :crit, es_nd, after es_nr, 1d
96+
```
97+
98+
All of these options are configurable in the `KeyManagement` options. For example:
6599

66100
```cs
67101
// Program.cs

0 commit comments

Comments
 (0)