REST API for ProxmoxAAS
Go to file
Arthur Lu f65772d6e4 improve local db utils
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-27 23:11:51 +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 add create instance endpoint 2023-02-27 23:04:38 +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 update README.md 2023-01-19 19:50:01 +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.Console, VM.Monitor, VM.PowerMgmt, VM.Snapshot, VM.Snapshot.Rollback
  1. Add a new API Token Permission with path: /, select the API token created previously, and role: `proxmoxaas-api