File tree Expand file tree Collapse file tree 1 file changed +26
-0
lines changed
Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change @@ -153,6 +153,32 @@ Procedure
153153 * - (Optional) Provide password directly
154154 - Used to verify your identity.
155155
156+ Authenticate as a Different Kerberos User on Windows
157+ ````````````````````````````````````````````````````
158+
159+ When you authenticate with Kerberos on Windows, the
160+ :guilabel:`Principal` you specify must match the principal of the
161+ security context that |compass-short| is running. Normally, this
162+ is the logged-in user who is running |compass-short|.
163+
164+ To authenticate as a different Kerberos user, run |compass| as the
165+ chosen user and specify the :guilabel:`Principal` for that user.
166+ To run |compass| as a different user, either:
167+
168+ - Hold :guilabel:`Shift` and right-click the |compass| program
169+ icon to select :guilabel:`Run as a different user`.
170+
171+ - Use the ``runas`` command-line tool. For example, the following
172+ command runs |compass| as a user named ``admin``:
173+
174+ .. code-block:: sh
175+
176+ runas /profile /user:mymachine\admin <path to MongoDB Compass>
177+
178+ After you start |compass| as the chosen user, to authenticate
179+ against your Kerberos-enabled MongoDB deployment, specify the
180+ :guilabel:`Principal` for the corresponding user.
181+
156182 .. _ldap-authentication:
157183
158184 LDAP
You can’t perform that action at this time.
0 commit comments