Skip to content

Commit a20dda4

Browse files
committed
Proxmox: add more API token permissions
1 parent 29bb051 commit a20dda4

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed
-26.3 KB
Loading

source/adminguide/extensions/builtin_extensions.rst

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,20 @@ Get the Api Token-Secret from Proxmox
3737
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3838

3939
If not already set up, create a new API Token in the Proxmox UI by navigating to `Datacenter > Permissions > API Tokens`.
40-
Uncheck the `Privilege Separation` checkbox in the `Add: Token` dialog or give permission to the API Token
41-
by navigating to `Datacenter > Permissions > Add > API Tokens Permission` and setting Role = `PVEAdmin` and Path = `/vms`.
42-
Note down the **user**, **token**, and **secret**.
40+
41+
#. Uncheck the `Privilege Separation` checkbox in the `Add: Token` dialog
4342

4443
|proxmox-add-token.png|
44+
45+
Note down the **user**, **token**, and **secret**.
46+
47+
#. Alternatively, check the `Privilege Separation` checkbox in the `Add: Token` dialog, and give permissions to the API Token
48+
by navigating to `Datacenter > Permissions > Add > API Tokens Permission`
49+
50+
- Set Role = `PVEAdmin` and Path = `/vms`
51+
- Set Role = `PVEAdmin` and Path = `/storage`
52+
- Set Role = `PVEAdmin` and Path = `/sdn`
53+
4554
|proxmox-api-token-permission.png|
4655

4756
To check whether the **token** and **secret** are working fine, you can check the following from the CloudStack Management Server:

0 commit comments

Comments
 (0)