From: Mohamed ALLOUACHE <mohamed.a.allouache@gmail.com>
To: pve-devel@lists.proxmox.com
Subject: [RFC] Protect OpenTelemetry Metric Server credentials in pve-manager
Date: Thu, 26 Nov 2026 14:53:59 -0700 [thread overview]
Message-ID: <CAPmm6pOu455zh0TSHs1ZfFWjoyTofZRrqTaSnTrYEBVf-0E-bg@mail.gmail.com> (raw)
Hello Proxmox developers,
I have been investigating the OpenTelemetry Metric Server credential
handling in pve-manager.
Problem:
Sensitive authentication headers configured for OpenTelemetry Metric
Servers may be exposed through regular configuration/API paths to users
with configuration audit permissions. Credentials should not be accessible
simply because a user is authorized to audit Metric Server configuration.
Proposed solution:
I am working on separating sensitive authentication headers from regular
Metric Server configuration by storing them in protected credential storage
The proposed changes include:
Moving sensitive credentials to protected storage
Preventing API responses from exposing the existing secret
Preserving credentials when updating unrelated configuration fields
Supporting credential replacement and removal
Updating the GUI so credentials can be managed without retrieving their
existing values
Adding regression tests for credential protection and lifecycle behavior
I have started implementing this on a local branch and would appreciate
feedback on the proposed design and implementation approach before
submitting the patch
Thank you
reply other threads:[~2026-11-26 21:54 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=CAPmm6pOu455zh0TSHs1ZfFWjoyTofZRrqTaSnTrYEBVf-0E-bg@mail.gmail.com \
--to=mohamed.a.allouache@gmail.com \
--cc=pve-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