From: Erik Fastermann <e.fastermann@proxmox.com>
To: pbs-devel@lists.proxmox.com
Cc: Erik Fastermann <e.fastermann@proxmox.com>
Subject: [PATCH proxmox-backup 3/5] report: include the s3 endpoint configuration
Date: Wed, 9 Sep 2026 13:12:26 +0200 [thread overview]
Message-ID: <20260909111228.217535-4-e.fastermann@proxmox.com> (raw)
In-Reply-To: <20260909111228.217535-1-e.fastermann@proxmox.com>
s3.cfg is not included as a file, since it also holds the secret key of
each endpoint. Listing the endpoints through the API keeps that
distinction where it is already maintained, as the API returns the
configuration without the secret. The access key is part of the
returned configuration, matching what the API and the web interface
expose to any user with Sys.Audit privileges.
The JSON output format is used because the text table only covers a
subset of the configured properties and because the report suppresses
the table header.
Signed-off-by: Erik Fastermann <e.fastermann@proxmox.com>
---
src/server/report.rs | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/server/report.rs b/src/server/report.rs
index c22141810..b123c1fa9 100644
--- a/src/server/report.rs
+++ b/src/server/report.rs
@@ -46,6 +46,10 @@ fn project_commands() -> Vec<StaticArgsCommandSpec> {
),
("proxmox-backup-manager", vec!["ldap", "list"]),
("proxmox-backup-manager", vec!["openid", "list"]),
+ (
+ "proxmox-backup-manager",
+ vec!["s3", "endpoint", "list", "--output-format", "json-pretty"],
+ ),
]
}
--
2.47.3
next prev parent reply other threads:[~2026-09-09 11:12 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-09 11:12 [PATCH proxmox-backup 0/5] report: cover the s3 configuration Erik Fastermann
2026-09-09 11:12 ` [PATCH proxmox-backup 1/5] report: rename mislabeled datastore file group Erik Fastermann
2026-09-09 11:12 ` [PATCH proxmox-backup 2/5] report: do not include remote passwords Erik Fastermann
2026-09-09 11:12 ` Erik Fastermann [this message]
2026-09-09 11:12 ` [PATCH proxmox-backup 4/5] api: s3: drop unused rpcenv parameter from bucket listing Erik Fastermann
2026-09-09 11:12 ` [PATCH proxmox-backup 5/5] report: list the accessible s3 buckets Erik Fastermann
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=20260909111228.217535-4-e.fastermann@proxmox.com \
--to=e.fastermann@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox