• Joined on 2025-01-12
mgrecar commented on issue borgmatic-collective/borgmatic#966 2025-01-20 13:21:00 +00:00
Securely load ntfy access token or password

I'm not sure the provider selection should be global for the whole config file. A user might have multiple credentials providers.

That's a good point. There's no good reason to restrict all…

mgrecar commented on issue borgmatic-collective/borgmatic#966 2025-01-13 01:36:05 +00:00
Securely load ntfy access token or password

As I was working further on my configuration, I found an alternative, sparked from the insight you brought to my attention about !include.

In order to store my configuration in Git, I moved…

mgrecar commented on issue borgmatic-collective/borgmatic#966 2025-01-12 22:22:36 +00:00
Securely load ntfy access token or password

Although it seems like the config file would only work under systemd, regardless of whether an environment variable is used there, and I'm not sure of a way around that..

Oh yeah, this is…

mgrecar commented on issue borgmatic-collective/borgmatic#966 2025-01-12 20:41:48 +00:00
Securely load ntfy access token or password

Well, I find that if I instead try:

access_token: !include "/run/credentials/borgmatic.service/borgmatic_ntfy.yaml"

It actually works. That path is where the decrypted content seems…

mgrecar commented on issue borgmatic-collective/borgmatic#966 2025-01-12 20:28:36 +00:00
Securely load ntfy access token or password

Interesting idea, unfortunately, I couldn't get it to work. After wrestling with getting multiple systemd-creds to actually work, it doesn't seem that it's able to find the file to include it…

mgrecar opened issue borgmatic-collective/borgmatic#966 2025-01-12 18:19:10 +00:00
Securely load ntfy access token or password