I am trying to access mongo shell of document db from one instance in session manager mode but while working on session manager .I want to restrict all other commands ok my instance except command mongo.
I went through some aws documentation where I think session document should help me to achieve the goal but I couldn't find any syntax for enabling command mongo only .