-
Type: Bug
-
Resolution: Fixed
-
Priority: Minor - P4
-
Affects Version/s: 1.34.1
-
Component/s: Embedded Shell
-
None
-
Environment:macOs 12.6.1
-
2
-
Not Needed
Problem Statement/Rationale
Can not use embedded shell to get the keyVault object for the current encrypted database connection
Please be sure to attach relevant logs with any sensitive data redacted.
Steps to Reproduce
Connection with In Use encryption using a local KeyStore
Compass 1.34.1
keyVault = db.getMongo().getKeyVault(); --> Error
Expected Results
Success when running keyVault = db.getMongo().getKeyVault();
Actual Results
[Error:|#]
Cannot find module 'mongodb'
Require stack: - /Applications/MongoDB Compass.app/Contents/Resources/app.asar.unpacked/node_modules/mongodb-client-encryption/lib/index.js - /Applications/MongoDB Compass.app/Contents/Resources/app.asar.unpacked/node_modules/@mongosh/node-runtime-worker-thread/dist/worker-runtime.js
Additional Notes
Any additional information that may be useful to include.