Mongo without authentication #18323
Unanswered
ggirard07 (ggirard07)
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Default app host integration for MongoDB in Aspire requires authentication, either through explicit user/password or default admin + implicit password.
But for our use case, MongoDB is just a dependency of another third party dependency we have to run but do not own the code. This service does not support authenticated connection to MongoDB (as the default MongoDB image config from docker hub).
We can override the default configuration for MongoDB and MongoExpress through environment variables, but the respective health-checks still use the authentication and report false-positive failure in that case.
Is there a proper way to disable authentication from Aspire host integration I missed?
I understand this is probably not the advised setup, but here we are tied to third party decisions, each justifiable on their own...
All reactions