proxmox-backup/pbs-client/src
Maximiliano Sandoval b510184e72 pbs-client: read credentials from $CREDENTIALS_DIRECTORY
Allows to load credentials passed down by systemd. A possible use-case
is safely storing the server's password in a file encrypted by the
systems TPM, e.g. via

```
systemd-ask-password -n | systemd-creds encrypt --name=proxmox-backup-client.password - my-api-token.cred
```

which then can be used via

```
systemd-run --pipe --wait --property=LoadCredentialEncrypted=proxmox-backup-client.password:my-api-token.cred \
proxmox-backup-client ...
```

or from inside a service.

Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
2025-03-26 12:46:51 +01:00
..
pxar add too_many_arguments clippy exception 2025-03-06 14:57:23 +01:00
tools pbs-client: read credentials from $CREDENTIALS_DIRECTORY 2025-03-26 12:46:51 +01:00
backup_reader.rs client/server: use dedicated api type for all archive names 2024-11-22 13:47:05 +01:00
backup_repo.rs tree-wide: bump edition to 2021 2022-12-06 13:31:01 +01:00
backup_specification.rs client: align description for backup specification to docs 2025-03-20 18:47:44 +01:00
backup_stats.rs client: backup writer: refactor backup and upload stats counters 2024-11-21 10:14:53 +01:00
backup_writer.rs h2: switch to legacy feature 2025-03-13 13:23:42 +01:00
catalog_shell.rs pbs-client: remove log dependency and migrate to tracing 2024-12-05 08:31:52 +01:00
chunk_stream.rs client: chunk stream: switch payload stream chunker 2024-06-05 16:39:42 +02:00
http_client.rs hyper: start preparing upgrade to 1.x 2025-03-13 13:23:48 +01:00
inject_reused_chunks.rs client: backup writer: refactor backup and upload stats counters 2024-11-21 10:14:53 +01:00
lib.rs client: backup writer: allow push uploading index and chunks 2024-11-21 10:14:53 +01:00
merge_known_chunks.rs cargo: switch from proc-macro pin-project to declarative pin-project-lite 2021-09-22 11:15:40 +02:00
pipe_to_stream.rs h2: switch to legacy feature 2025-03-13 13:23:42 +01:00
pxar_backup_stream.rs client: pxar: fix race in pxar backup stream 2025-02-11 11:18:29 +01:00
remote_chunk_reader.rs blob/chunk parse errors: add context 2023-08-08 13:57:04 +02:00
task_log.rs pbs-client: remove log dependency and migrate to tracing 2024-12-05 08:31:52 +01:00
vsock_client.rs hyper: start preparing upgrade to 1.x 2025-03-13 13:23:48 +01:00