Skip to content

Creation of API tokens #218

Answered by lae
andre-pt asked this question in Q&A
Feb 11, 2023 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

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.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@andre-pt
Comment options

Answer selected by andre-pt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #217 on February 12, 2023 12:20.