Feature request for MongoDBQueryTool Connection details
Hi Team,
Please include export/import connection option for MongoDBQueryTool
Issue: We have used same connection in multiple locations, where we cant refer the connection information from file. Facing issues in updating the userName and password.
**Work Around: **
We tried referring from environment variable still we faced below issues
1. Password is explicit, so we were not able to refer env variable
2. Multiple variable were created to connected 3 different set of connection .
Any valuable inputs are appreciable.
Regards
Udaya
Comments
-
Environment variables are the way to go.
Password is explicit, so we were not able to refer env variable
How do you mean? You should be able to use an environment variable in the password field. Just type ${var_name} as usual. It is also possible to mask the value of environment variables so they aren't visible as plain text in the UI. This is commonly done for passwords or other sensitive values.
0 -
Thanks for providing the masking information, Still it would be better save as files.
When we have multiple databases connecting in a project.0 -
Thanks for providing the masking information
No problem.
Still it would be better save as files
In case this helps you, you can also save environment configurations as external files and reference them. Your environment variables don't have to be saved directly in the tst file this way. soatestcli also has a -environmentConfig argument that you can use to dynamically configure environment variables, even ones that weren't originally saved or referenced in the tst file.
1