Update proxmoxbackupserver.md
Add direction for creating an API token with the least required privileges
This commit is contained in:
parent
daa51f9740
commit
d45bb376de
@ -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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user