@@ -4,8 +4,6 @@ Rotate Keys for Sharded Clusters
4
4
5
5
.. default-domain:: mongodb
6
6
7
-
8
-
9
7
Sharded cluster members can use :ref:`keyfiles <internal-auth-keyfile>`
10
8
to authenticate each other as memers of the same deployment.
11
9
@@ -52,9 +50,7 @@ Procedure
52
50
1. Modify the Keyfile to Include Old and New Keys
53
51
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
54
52
55
- Modify each member's keyfile to include both the old and new keys. You
56
- can specify multiple keys either as strings enclosed in quotes or as a
57
- sequence of keys.
53
+ Modify each member's keyfile to include both the old and new keys.
58
54
59
55
.. warning::
60
56
@@ -63,34 +59,14 @@ sequence of keys.
63
59
keyfile using any method you choose (e.g. ``openssl rand -base64
64
60
756``, etc.).
65
61
66
- .. tabs::
67
-
68
- tabs:
69
-
70
- - id: multiple-key-strings
71
- name: Multiple Key Strings
72
- content: |
73
-
74
- You can specify multiple key strings where each key
75
- string is **enclosed in quotes**
76
-
77
- .. figure:: /images/example-multiple-keys1.png
78
- :alt: Image of multiple key strings.
79
- :figwidth: 600px
80
-
81
-
82
- - id: multiple-key-sequence
83
- name: Multiple Key Sequence
84
- content: |
85
-
86
- You can specify multiple key strings as a sequence of key
87
- strings (optionally enclosed in quotes):
62
+ You can specify multiple key strings as a sequence of key strings (optionally
63
+ enclosed in quotes):
88
64
89
- .. figure:: /images/example-multiple-keys2.png
90
- :alt: Image of multiple key string sequence.
91
- :figwidth: 600px
65
+ .. figure:: /images/example-multiple-keys2.png
66
+ :alt: Image of multiple key string sequence.
67
+ :figwidth: 600px
92
68
93
- 2 . Restart Each Member
69
+ 1 . Restart Each Member
94
70
~~~~~~~~~~~~~~~~~~~~~~
95
71
96
72
Once all the keyfiles contain both the old and new keys, restart each
0 commit comments