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…
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…
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…
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…
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…