essembeh
  • Joined on 2022-06-12
essembeh commented on issue borgmatic-collective/borgmatic#546 2022-06-17 07:58:15 +00:00
Allow passing database password as environment variables.

The documentation is very clear. Just a missing detail, that I also missed in the unit tests ... you can escape an env var with \

But then I realized that my implementation had an issue, as…

essembeh created pull request borgmatic-collective/borgmatic#549 2022-06-17 07:57:09 +00:00
Fix escaped environment variable in configuration
essembeh commented on issue borgmatic-collective/borgmatic#546 2022-06-16 17:00:43 +00:00
Allow passing database password as environment variables.

@witten please have a look to the new PR I just submitted, borgmatic-collective/borgmatic#548

I hesitated between using (os.path.expandvars)[https://docs.pyt…

essembeh created pull request borgmatic-collective/borgmatic#548 2022-06-16 16:55:33 +00:00
Allow environment variable resolution in configuration file
essembeh commented on pull request borgmatic-collective/borgmatic#545 2022-06-16 16:54:51 +00:00
Allow database password to be read from environ

Better solution to be implemented, see #546

essembeh closed pull request borgmatic-collective/borgmatic#545 2022-06-16 16:54:51 +00:00
Allow database password to be read from environ
essembeh commented on issue borgmatic-collective/borgmatic#546 2022-06-14 22:08:59 +00:00
Allow passing database password as environment variables.

Thanks for your quick answers.

I'll have a look to both source files you pointed.

Envsubst is a common and basic linux cli tool, [part or GNU gettext](https://www.gnu.org/software/gettext/man…

essembeh commented on issue borgmatic-collective/borgmatic#546 2022-06-14 19:51:13 +00:00
Allow passing database password as environment variables.

Thanks for your answer @witten

I understand the idea of using this env resolution mecanism for other configuration nodes, I was too focus on my initial need.

One thing I don't like in my…

essembeh opened issue borgmatic-collective/borgmatic#546 2022-06-12 20:56:35 +00:00
Allow passing database password as environment variables.
essembeh created pull request borgmatic-collective/borgmatic#545 2022-06-12 20:56:14 +00:00
Allow database password to be read from environ