-
Hi Is there a way to create API tokens which is not documented? Thanks a lot |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Having checked the PVE API documentation (https://pve.proxmox.com/pve-docs/api-viewer/index.html#/access/users/{userid}/token/{tokenid}) it looks like token management has its own configuration endpoint, and it's not touched at all in this role. So, there isn't any way to create API tokens with this role, at least at the moment. I don't have a recommended way, but shell commands using |
Beta Was this translation helpful? Give feedback.
Having checked the PVE API documentation (https://pve.proxmox.com/pve-docs/api-viewer/index.html#/access/users/{userid}/token/{tokenid}) it looks like token management has its own configuration endpoint, and it's not touched at all in this role. So, there isn't any way to create API tokens with this role, at least at the moment.
I don't have a recommended way, but shell commands using
pvesh
would probably work. You would just run them on one host in the cluster.