Closed derekwong9 closed 6 years ago
I think you can just use this:
https://github.com/manahl/arctic/blob/master/arctic/scripts/utils.py#L10
example of use:
https://github.com/manahl/arctic/blob/master/arctic/scripts/arctic_create_user.py#L32
@derekwong9 did either of those help?
never heard back - closing
mongodb authorisation issue gives a decent example of how to set it up. From my limited experience, using do_db_auth is so much more complicated than mere mortals need in order to get up and running.
Arctic Version
Arctic Store
Platform and version
Ubuntu 18.04 LTS
Description of problem and/or code sample that reproduces the issue
I am trying to set up a user name and password authentication with the mongo for Arctic. I have tried using arctic.Auth.authenticate as in this post here https://github.com/manahl/arctic/issues/405 getting an error as shown below.
I have also tried this hooked version as described here https://github.com/manahl/arctic/issues/327
I am wondering if there is a guide or post on how to set up username and password authentication using arctic in a step by step manner? I know these are non-repeatable examples and can create some, however I think that mostly an instructional tutorial would be great.