File tree Expand file tree Collapse file tree 2 files changed +16
-2
lines changed Expand file tree Collapse file tree 2 files changed +16
-2
lines changed Original file line number Diff line number Diff line change 1
- Hide credentials in your connection string. Passwords in connection
2
- strings are displayed as ``***** ``
1
+ Sets all connection strings as read-only. Passwords in connection
2
+ strings display as ``***** ``.
3
+
4
+ If ``protectConnctionStrings `` is enabled, |compass-short | disables the
5
+ :guilabel: `Edit connection string ` option and hides the
6
+ :guilabel: `Edit connection string ` toggle.
Original file line number Diff line number Diff line change @@ -108,6 +108,16 @@ Settings
108
108
* - :ref:`protectConnectionStrings <compass-protect-connection-strings>`
109
109
- .. include:: /includes/fact-protect-connection-strings.rst
110
110
111
+ * - protectConnectionStringsForNewConnections
112
+ - Sets connection strings for new connections as read-only by
113
+ default. Passwords in new connection strings display as
114
+ ``*****``.
115
+
116
+ If ``protectConnctionStringsForNewConnections`` is enabled,
117
+ |compass-short| disables the :guilabel:`Edit connection string`
118
+ option but doesn't prevent users from manually enabling the
119
+ option with the :guilabel:`Edit connection string` toggle.
120
+
111
121
* - :ref:`readOnly <compass-read-only>`
112
122
- Prevent users from performing write operations to your MongoDB deployment
113
123
through |compass-short|.
You can’t perform that action at this time.
0 commit comments