I wish to accelerate connection to a deployment (favorite) by specifying it on the command line
I'd like just to know if it's possible to start Compass connecting to a specific MongoDB passing a name of my favorites by args from command line

This functionality became available in Compass 1.34.0.
-
Adam commented
Yeah. Either a name of a favourite or the raw connection details (preferably with the option that it prompts for password if one not supplied).
I have some scripts that create SSH tunnels (with 2FA, etc.) and for other DBs I can then launch a client using the local port my script randomly chose. Would like to for Mongo also
-
JOEL commented
Passing the connection data from arguments in command line is a must. Because it is not possible, we cannot implement Compass from CyberArk.
-
Madan commented
This would be an awesome feature to have, esp when integrating with Privileged Identity management and bastion host solutions where MongoDB credentials are routinely rotated