all lists on lists.proxmox.com
 help / color / mirror / Atom feed
From: Thomas Lamprecht <t.lamprecht@proxmox.com>
To: Proxmox Backup Server development discussion
	<pbs-devel@lists.proxmox.com>,
	Maximiliano Sandoval <m.sandoval@proxmox.com>
Subject: Re: [pbs-devel] [PATCH backup v3 1/2] pbs-client: read credentials from $CREDENTIALS_DIRECTORY
Date: Wed, 26 Mar 2025 12:06:54 +0100	[thread overview]
Message-ID: <8728c4b8-b2ee-46d3-8cfb-014e24042251@proxmox.com> (raw)
In-Reply-To: <20250326105142.146486-1-m.sandoval@proxmox.com>

Am 26.03.25 um 11:51 schrieb Maximiliano Sandoval:
> 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.


I lightly skimmed over the code, looks alright to me (feel free to apply
@Wolfgang), but I'm missing a patch for the documentation so that users
can know about this possibility – can be followed up though.



_______________________________________________
pbs-devel mailing list
pbs-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pbs-devel

  parent reply	other threads:[~2025-03-26 11:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-26 10:51 Maximiliano Sandoval
2025-03-26 10:51 ` [pbs-devel] [PATCH backup v3 2/2] pbs-client: make get_secret_from_env private Maximiliano Sandoval
2025-03-26 11:06 ` Thomas Lamprecht [this message]
2025-03-26 12:00 ` [pbs-devel] applied-series: [PATCH backup v3 1/2] pbs-client: read credentials from $CREDENTIALS_DIRECTORY Wolfgang Bumiller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8728c4b8-b2ee-46d3-8cfb-014e24042251@proxmox.com \
    --to=t.lamprecht@proxmox.com \
    --cc=m.sandoval@proxmox.com \
    --cc=pbs-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal