Provision read-only Proxmox API token #2

Closed
opened 2026-07-12 20:11:02 -06:00 by jhodgkin · 2 comments
Owner

Create a token scoped to a read-only (PVEAuditor) role on pve via pveum, for the ProxmoxCollector to use. Store in CT122's .env, never commit it.

Create a token scoped to a read-only (PVEAuditor) role on `pve` via `pveum`, for the ProxmoxCollector to use. Store in CT122's `.env`, never commit it.
jhodgkin added this to the v1-dashboard milestone 2026-07-12 20:11:02 -06:00
Author
Owner

Starting: creating a dedicated monitor@pve PVE user with PVEAuditor (read-only) role and an API token, over the existing root SSH trust to pve.

Starting: creating a dedicated `monitor@pve` PVE user with PVEAuditor (read-only) role and an API token, over the existing root SSH trust to pve.
Author
Owner

Done. Created dedicated monitor@pve PVE user + monitor@pve!dashboard API token, scoped only to the built-in PVEAuditor role (read-only: *.Audit perms) via ACL on /. Verified: GET /nodes and GET /nodes/pve/lxc both return full stats for the host and all 22 LXCs — including PSI pressure metrics (pressurecpusome, pressurememoryfull, etc.) natively, which covers the 'pressure' requirement without extra collector work. Token secret stored in CT122's .env only, never committed.

Done. Created dedicated `monitor@pve` PVE user + `monitor@pve!dashboard` API token, scoped only to the built-in `PVEAuditor` role (read-only: `*.Audit` perms) via ACL on `/`. Verified: `GET /nodes` and `GET /nodes/pve/lxc` both return full stats for the host and all 22 LXCs — including PSI pressure metrics (`pressurecpusome`, `pressurememoryfull`, etc.) natively, which covers the 'pressure' requirement without extra collector work. Token secret stored in CT122's `.env` only, never committed.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: jhodgkin/homelab-monitor#2