I'm trying to upload an SSL certificate via the API (https://pve.proxmox.com/pve-docs/api-viewer/index.html#/nodes/{node}/certificates/custom) using the Proxmoxer Python API, with an API Token tied to the root user.
I think I've gotten my code right, but am seeing the following error when I execute the POST call:
proxmoxer.core.ResourceException: 403 Forbidden: Permission check failed (user != root@pam) - b'{"data":null}'
From reading the API docs, only root has the ability to upload a custom cert, but then why am I receiving the error (which I am interpreting as "your user cannot be root@pam") ?
If the root user is not required, do I merely need to create an API token tied to a user who is in the Administrator role (who isn't root@pam)?
Any help is greatly appreciated.
I think I've gotten my code right, but am seeing the following error when I execute the POST call:
proxmoxer.core.ResourceException: 403 Forbidden: Permission check failed (user != root@pam) - b'{"data":null}'
From reading the API docs, only root has the ability to upload a custom cert, but then why am I receiving the error (which I am interpreting as "your user cannot be root@pam") ?
If the root user is not required, do I merely need to create an API token tied to a user who is in the Administrator role (who isn't root@pam)?
Any help is greatly appreciated.