[OpenSIPS-Users] Avoid plain text password in configuration files

Mickael Hubert mickael at winlux.fr
Tue Jan 8 00:54:31 EST 2019


Hi
Thanks a lot for guys !
I'll try m4 to test.
But If prefer ansible ;) maybe change opensips startup script to work with
jinja template...

++

++

Le lun. 7 janv. 2019 12:43, Gerwin van de Steeg <
gerwin.van.de.steeg at vadacom.com> a écrit :

> If you're ok with them being pulled from a secondary source like a second
> file not part of your VCS then you'll have to use some form of config
> generation script like a Makefile or m4 or ansible with some templating.
> Depends entirely on how comfortable you are with m4 and the other tools.
>
> I just filed a feature request earlier today regarding this if you don't
> want to store the credentials on the system in a config file at all.
>  https://github.com/OpenSIPS/opensips/issues/1581
>
> Cheers,
>
> Gerwin
>
>
>
>
>
> On Mon, 7 Jan 2019 at 22:59, Nick Altmann <nick at altmann.pro> wrote:
>
>> And final config:
>>>
>>> m4 opensips.m4 > opensips.cfg
>>>
>>
>> Startup script does this automatically when opensips.m4 found.
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20190108/68da24d9/attachment.html>


More information about the Users mailing list