Lower-bar reference material, distinct from docs/'s engineering write-ups: recovered Proxmox cheat sheets (live-verified against PVE 9.2.21, new remote-migrate/importovf/pvesm subcommands added, acmedomain0 flag typo fixed) plus the real zsh aliases/functions/keybindings from the actual ZDOTDIR-based config.
657 B
657 B
Create an API Token on Proxmox
To create a new API Token for your user in Proxmox, follow these steps:
- Open the Proxmox Web UI and navigate to the 'Datacenter' in the 'Server View' menu.
- Select 'API Token' in the 'Permissions' menu.
- Click on 'Add'.
- Select the
user, and add a 'Token ID'. - (Optional) Disable
Privilege Separation, and set anExpiredate. - Click on 'Add'.
Check the API Token
To test the API Token, you can use the following command:
curl -H "Authorization: PVEAPIToken=root@pam!monitoring=aaaaaaaaa-bbb-cccc-dddd-ef0123456789" https://your-proxmox-url:8006/api2/json/