]> git.proxmox.com Git - proxmox-backup.git/commit - pbs-client/src/tools/key_source.rs
support new ENV vars to get secret values through a file or a command
authorDietmar Maurer <dietmar@proxmox.com>
Wed, 21 Jul 2021 09:59:54 +0000 (11:59 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 22 Jul 2021 08:09:53 +0000 (10:09 +0200)
commit16a01c19ddca28d1f5a92cd9422af01dcdf48207
tree2df88a4a6e035e152950d9ee53ec8a8736b1d061
parent86b8ba448c079831567a331e512089206d383438
support new ENV vars to get secret values through a file or a command

We want to allow passing a secret not only directly through the
environment value, but also indirectly through a file path, an open
file descriptor or a command that can write it to standard out.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
pbs-client/src/tools/key_source.rs
pbs-client/src/tools/mod.rs