REST API for ProxmoxAAS
Go to file
Arthur Lu d8e6274c3d fix cors origin
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-28 01:37:46 +00:00
.gitignore add basic local db utility functions 2023-02-27 01:28:01 +00:00
db.js improve local db utils 2023-02-27 23:11:51 +00:00
main.js fix cors origin 2023-02-28 01:37:46 +00:00
package.json rename index.js to main.js 2023-02-26 08:36:27 +00:00
proxmoxaas-api.service add start script and sample systemd service 2023-02-10 21:58:22 +00:00
README.md fix README instructions 2023-02-28 00:07:24 +00:00
start.sh add start script and sample systemd service 2023-02-10 21:58:22 +00:00
vars.js.template add detach disk path, 2023-01-25 00:48:15 +00:00

Configuring API Token and Permissions

  1. Add a new user proxmoxaas-api to proxmox
  2. Create a new API token for the user proxmoxaas-api and copy the secret key to a safe location
  3. 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
  1. Add a new API Token Permission with path: /, select the API token created previously, and role: proxmoxaas-api
  2. Add a new User Permission with path: /, select the proxmoxaas-api user, and role: proxmoxaas-api