REST API for ProxmoxAAS
2b311cd1f1
Signed-off-by: Arthur Lu <learthurgo@gmail.com> |
||
---|---|---|
.gitignore | ||
db.js | ||
main.js | ||
package.json | ||
proxmoxaas-api.service | ||
pveutils.js | ||
README.md | ||
start.sh | ||
vars.js.template |
Configuring API Token and Permissions
- Add a new user
proxmoxaas-api
to proxmox - Create a new API token for the user
proxmoxaas-api
and copy the secret key to a safe location - Create a new role
proxmoxaas-api
with at least the following permissions:
- VM.* except VM.Audit, VM.Backup, VM.Clone, VM.Console, VM.Monitor, VM.PowerMgmt, VM.Snapshot, VM.Snapshot.Rollback
- Datastore.Allocate, Datastore.AllocateSpace, Datastore.Audit
- User.Modify
- Add a new API Token Permission with path:
/
, select the API token created previously, and role:proxmoxaas-api
- Add a new User Permission with path:
/
, select theproxmoxaas-api
user, and role:proxmoxaas-api