-
Notifications
You must be signed in to change notification settings - Fork 39
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
Missing -dbSSL and -dbAuthDb arguments #903
Comments
Ok, I will look into this |
I've looked into it a little and found ... I think more than 100 options for the URL for the mongo connection. So, what I propose it the following:
[ The first four (dbhost - replSet) are already supported and their names cannot be changed for backwards compatibility reasons] The "mighty" mongo-url CLI option would give users liberty to set any of the +100 options for connection to mongo. Except for the password - we don't want secrets inside the value of "-dbURI", so for the password we would use variable substitution.
The broker would then substitute This substitution would (naturally) only be done if:
This way, the most common usage is supported by CLI options (or env vars), and any complicated case is supported by IMPORTANT: If |
So, I did something, but, just for the "renewed" API endpoints, that use the mongoc driver. |
Ok, thank you, I will test the -dbURL option |
Remember you can "bake in" the password, using ${PWD} as part of the value for If you need any help, just poke me. |
@kzangeli Did I understand correctly that no SSL connection is possible in the current stable version 1.0.1? Btw. I tested the new
with |
ok, I'll take a look tomorrow. Just one thing. What value do you give to the BTW, -db is to set the database prefix, default value is "orion". It's supposed to be short. |
So, I've tried everything I could think of. |
@kzangeli It was a misconfiguration at my side. I'm sorry to cause this inconvenience. |
No worries. |
Hi,
It seems that -dbSSL and -dbAuthDb arguments do not exist in Orion-LD while they are present in Orion.
It would be nice to add them in order to connect Orion-LD to a secured Mongo cluster
The text was updated successfully, but these errors were encountered: