-
Notifications
You must be signed in to change notification settings - Fork 147
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
Configure accound_sid and auth_token in run time #65
Comments
This is a common issue with many hex packages. The solution is to enable this syntax for configuration:
When you do it the way ExTwilio currently does, the It shouldn't take me too long to add this syntax once I can get around to it. |
Do you need help in this? |
See the updated config files and README. Closes #65.
[#65] Allow runtime config with {:system} tuples
@gliush I've added the ability to configure at runtime. A new release will coming shortly, in the meantime you can depend on the git repo. |
Hi.
I've tried to use ex_twilio as you specify in documentation and found out the following problem:
account_sid
&auth_token
during the build stepIt seems that all the configurations are compiled into the binaries and any changes to the configuration in runtime doesn't influence it.
I'm strongly against this approach, as we should have different binaries for the dev and for production, we should have access to the production secrets on our building machine, etc.
If you need more details how I'm doing this - don't hesitate to ask.
PS:
If I'm doing smth wrong and there's a workaround - could you explain it please.
The text was updated successfully, but these errors were encountered: