question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Feature Request] MongoDB --auth

See original GitHub issue

Hello,

Firstly, thank you very much for this implementation, I have been using it for learning Github actions on an aside project (https://github.com/jorlugaqui/ahm) and it helped me by a lot.

This request is for you to consider (if it makes sense) to have a variation for which the container will start with --auth enabled, probably achievable by sending the env variables MONGO_INITDB_ROOT_USERNAME and MONGO_INITDB_ROOT_PASSWORD.

Some applications may be using this mechanism as a default for connecting to a mongo server. By supporting the --auth, applications won’t need to adjust their code, but rather will only need to take care of sending the right values in the env variables. I could try posting a PR if you think it is worth it.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

4reactions
marcuspoehlscommented, Nov 16, 2021

@jorlugaqui @kibertoad @biodrone I’ve tagged a new release version 1.7.0 that is now available in the GitHub Actions marketplace containing the MongoDB authentication feature 😃

2reactions
biodronecommented, Nov 16, 2021

Just used it in my project, working like a dream 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

MongoDB Authentication
Requiring that all clients and servers provide valid credentials to connect to the system. · Restricting users to only perform actions as determined...
Read more >
mongodb - crates.io: Rust Package Registry
sync, Expose the synchronous API ( mongodb::sync ). This flag cannot be used in conjunction with either of the async runtime feature flags....
Read more >
Authentication - Percona Server for MongoDB 6.0
The mongod server uses this YES/NO response to authenticate the client or reject the request. If successful, the client has authenticated and ...
Read more >
Secure Access to MongoDB with Teleport Database Access
Roman: 00:15:47.243 Another useful feature is integration with access requests, right, or access workflows, which allows users to temporarily request ...
Read more >
Docs overview | mongodb/mongodbatlas - Terraform Registry
In order to set up authentication with the MongoDB Atlas provider, you must generate a programmatic API key for MongoDB Atlas with the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found