I finished and passed this lab, but I would like to know other than doing a “ps -ef | grep mongo” is there a command line inside mongo shell where I can verify the storage is encrypted?
As you know, encryption is enabled via the
mongod options during instantiation. You can check what options where passed using one of these two methods:
… apply filters to drill down to the relevant section. Both are quite handy commands for discovering a lot of DB information.
NB: You might want to link your post to the Security course.
mongod --dbpath C:\a --wiredTigerCollectionBlockCompressor none --wiredTigerDirectoryForIndexes --port 12000
And in the second window:
Here were are - naked, no compression and encryption at all.
And now the same drill with encryption enabled.
Thanks! 007, these commands are very handy indeed.