Skip to content

Proxmox: add more API token permissions #540

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified source/_static/images/proxmox-api-token-permission.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 12 additions & 3 deletions source/adminguide/extensions/builtin_extensions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,20 @@ Get the Api Token-Secret from Proxmox
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

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

Uncheck the `Privilege Separation` checkbox in the `Add: Token` dialog

|proxmox-add-token.png|

Note down the **user**, **token**, and **secret**.

Alternatively, check the `Privilege Separation` checkbox in the `Add: Token` dialog, and give permissions to the API Token
by navigating to `Datacenter > Permissions > Add > API Tokens Permission`

- Set Role = `PVEAdmin` and Path = `/vms`
- Set Role = `PVEAdmin` and Path = `/storage`
- Set Role = `PVEAdmin` and Path = `/sdn`

|proxmox-api-token-permission.png|

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