Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

backup.mjs script needs Mongo authentication #1827

Open
rmunn opened this issue Jun 28, 2024 · 0 comments
Open

backup.mjs script needs Mongo authentication #1827

rmunn opened this issue Jun 28, 2024 · 0 comments

Comments

@rmunn
Copy link
Collaborator

rmunn commented Jun 28, 2024

Now that Mongo authentication has been deployed to staging and production, the backup.mjs script no longer works, because I had it sending Mongo queries without auth. I need to add the ability to take authentication parameters from environment variables, and/or possibly from command line args. I'll start with env vars as command line args will be a more extensive rewrite (currently the script only takes positional parameters, which is easy — but taking command line args will require adding a parser library, because there are too many corner cases such as -- to do the parsing by hand).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

1 participant