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.
19 lines
657 B
Markdown
19 lines
657 B
Markdown
## Create an API Token on Proxmox
|
|
|
|
To create a new API Token for your `user` in Proxmox, follow these steps:
|
|
|
|
1. Open the Proxmox Web UI and navigate to the **'Datacenter'** in the **'Server View'** menu.
|
|
2. Select **'API Token'** in the **'Permissions'** menu.
|
|
3. Click on **'Add'**.
|
|
4. Select the `user`, and add a **'Token ID'**.
|
|
5. (Optional) Disable `Privilege Separation`, and set an `Expire` date.
|
|
6. Click on **'Add'**.
|
|
|
|
## Check the API Token
|
|
|
|
To test the API Token, you can use the following command:
|
|
|
|
```sh
|
|
curl -H "Authorization: PVEAPIToken=root@pam!monitoring=aaaaaaaaa-bbb-cccc-dddd-ef0123456789" https://your-proxmox-url:8006/api2/json/
|
|
```
|