Hey,
I am using the Proxmox VE API in my app, and I want to create a whitelist for fields related to authentication: Hostname, Username, Realm, Token-ID, and Secret.
I use regex to ensure only valid characters are inserted as part of the authentication. I have two questions:
I am using the Proxmox VE API in my app, and I want to create a whitelist for fields related to authentication: Hostname, Username, Realm, Token-ID, and Secret.
I use regex to ensure only valid characters are inserted as part of the authentication. I have two questions:
- As far as I know, the realm can only be one of the following: “pam”, “pve”, “ldap”, “ad”, and “openid”. Am I right?
- Is the secret always a UUID?