You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We don't have to do anything about this now, as it's the same with mongorc.
But IMO users should be able to manage this file however they like without breaking the provider.
A possible solution would be to put credentials as parameters in the call to mongosh. However that approach is vulnerable to ps sniping, although that is solvable by doing some input redirection from a file Another possible solution would be the use of certificated for authentication..
This file exists solely to make life easier for developing the provider, it basically serves 2 purposes:
Add conditional logic for authentication
Add 2 functions to help in replicaset management
IMHO, the functions need to be moved inline with the provider and there needs to be a solution to the authentication. Changing this file now restarts the server, which is utter nonsense. To be clear, currently, changing the admin password causes a server restart.
We don't have to do anything about this now, as it's the same with mongorc.
But IMO users should be able to manage this file however they like without breaking the provider.
Originally posted by @h-haaks in #703 (comment)
The text was updated successfully, but these errors were encountered: