Skip to content

Commit a2ca644

Browse files
authored
DOCSP-29957 protectConnectionStringsForNewConnections parameter (#592)
* DOCSP-29957 protectConnectionStringsForNewConnections parameter * DOCSP-29957 protectConnectionStringsForNewConnections parameter * DOCSP-29957 protectConnectionStringsForNewConnections parameter * DOCSP-29957 adding note * DOCSP-29957 copy edit * DOCSP-29957 tech edits * DOCSP-29957 tech edits * DOCSP-29957 tech edits * DOCSP-29957 tech edits * DOCSP-29957 tech edits * DOCSP-29957 tech edits * DOCSP-29957 tech edits * DOCSP-29957 tech edit
1 parent 6ffbb69 commit a2ca644

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed
Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,6 @@
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.

source/settings/config-file.txt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,16 @@ Settings
108108
* - :ref:`protectConnectionStrings <compass-protect-connection-strings>`
109109
- .. include:: /includes/fact-protect-connection-strings.rst
110110

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+
111121
* - :ref:`readOnly <compass-read-only>`
112122
- Prevent users from performing write operations to your MongoDB deployment
113123
through |compass-short|.

0 commit comments

Comments
 (0)