Provision read-only Proxmox API token #2
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Create a token scoped to a read-only (PVEAuditor) role on
pveviapveum, for the ProxmoxCollector to use. Store in CT122's.env, never commit it.Starting: creating a dedicated
monitor@pvePVE user with PVEAuditor (read-only) role and an API token, over the existing root SSH trust to pve.Done. Created dedicated
monitor@pvePVE user +monitor@pve!dashboardAPI token, scoped only to the built-inPVEAuditorrole (read-only:*.Auditperms) via ACL on/. Verified:GET /nodesandGET /nodes/pve/lxcboth 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.envonly, never committed.