Request to add User VNC Display Port on Credentail entry
0 vote
We have vnc service that require a specific port per user. Is there a way to add that to a credential entry or per user basis?
user1 is display 1 and would be Port 5901
user2 is display 8 would need port 5908 and so on.
The credential entry would also need to have VNC password as a field as well.
I tried using the custom_field but the port will not accept the variable.
Hello,
There is a field located in the advanced tab of the entry called "custom host port" where you can specify a text string for the port. This supports variables:

In my picture I used an SSH terminal entry but it should work for VNC entries as well.
In your case then, your users can use the User Specific Setting feature to override the custom field with whatever value they want, and it should connect with that specific port.
Let me know if this works for you.
Regards,
Hubert Mireault
How would I tell it to use %CredEntry%/%Custom_Field1% variable in that? When I use %Custom_Field1% it is pulling it from the Session Custom field and not the credential entry? I Tried $Identity_Custom_Field1% as well.
Hello,
I see, sorry, I misunderstood your exact scenario.
The only workaround at the moment I could provide is using the $CREDENTIAL_UPN$ variable, configuring the port in that field in the credential entry, and using that variable in the custom port of the VNC entry. If you need the user to change that port with user specific settings though, that will not work.
I will open a ticket to add a similar feature for "credential custom field" variables, which should be more versatile and usable in other scenarios as well.
You also mentioned in your first post that you'd need another field for VNC Password. We will have to see how best to implement this as we want to keep our entries as generic as we can.
Regards,
Hubert Mireault
Is there a way to add VNC Password and Host port to the user creds. I tried using the $CREDENTIAL_EMAIL$ field with the port and passing that as the host port. It works however there is no VNC Password and it will not authenticate.
$CREDENTIAL_VNCPW$
$CREDENTIAL_VNCPORT$
And when selecting Find by name (user vault) it would use those credentials settings in VNC password and port
Hello,
This is not currently possible but we will note this as well for future improvements. We have a few ideas on how we could allow for such a flow. I can't give you an estimate at the moment but I encourage our community to chime in to help us prioritize.
Regards,
Hubert Mireault
Hello Bryan,
The ability to use credential custom field variables has been implemented and will be available in version 2025.1. This should allow you to reference custom fields from credential entries, including for cases like VNC ports.
Let us know if that works for you!
Regards,
David Godin