Update proxmoxbackupserver.md

Add direction for creating an API token with the least required privileges
This commit is contained in:
jackskhakis 2024-04-26 15:43:45 -05:00 committed by GitHub
parent daa51f9740
commit d45bb376de
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -5,6 +5,17 @@ description: Proxmox Backup Server Widget Configuration
Learn more about [Proxmox Backup Server](https://www.proxmox.com/en/proxmox-backup-server/overview). Learn more about [Proxmox Backup Server](https://www.proxmox.com/en/proxmox-backup-server/overview).
Open Access Control, API Token, Add.
Select your user and give the token a recognizable name.
Make sure to note this secret as it wont be shown again.
Open Permissions, Add API Token Permission.
Path: /
API Token: -as above-
Role: Audit
Propagate checked.
Edit widget settings where username is 'user@pam!tokenname' and password is the API token secret.
Your API access for the homepage widget should be functional now.
Allowed fields: `["datastore_usage", "failed_tasks_24h", "cpu_usage", "memory_usage"]`. Allowed fields: `["datastore_usage", "failed_tasks_24h", "cpu_usage", "memory_usage"]`.
```yaml ```yaml