Feature Requests
Completed :latest

Change / Rename Auto-Integration Token Parameter

I use the auto integration for Proxmox LXC containers. For that, I created a first Token with a certain naming and metadata like Allowed IPs. With this first token, I integrated my first Proxmox node. After do so, I realized, my naming and whitelisting do not match.

Over time these questions will arise anyway as soon as nodes get extended or IP addresses change.

  • What is the preferred way to rename the tokens (e.g my-pve-1 to my-pve)?
  • What is the preferred way to change the metadata within a token (e.g. add an IP or just change the existing one(s))?
  • What is the preferred way to update the integration (Proxmox node as well as all affected LXC containers) to use another / new token?

I'm sorry if this is already answered somewhere in the docs or another issue, that I haven't found. Then I appreciate it if you could direct me to that location :)

1 Comment

Posting anonymously

9technologygroup·7 months ago

Renaming of tokens is a good idea, and being able to edit them - Originally I left them so that they are not to be changed once created but your request makes logical sense.

I have completed this request and the ability to edit tokens will be released in 1.3.8 :)

<img width="771" height="436" alt="Image" src="https://github.com/user-attachments/assets/b0e64b77-3d91-4147-838b-4b6494da803e" />

With in regards to your last point :

"What is the preferred way to update the integration (Proxmox node as well as all affected LXC containers) to use another / new token?"

When the Proxmox auto-enrolment script runs then it adds the LXCs individually to PatchMon and isn't reliant upon the existing token for auto-enrolment used.
The proxmox script is used only to go through each LXC and enrol them and is independent of the initial script.

So removing the token from PatchMon wont stop previously added LXCs from communicating. That said, if you create a new token then you are best just using the new curl command in your cronjobs :)

Hope that helps.

Posting anonymously