Hello,
Im looking for an option to setup a keyboard hotkey for auto paste logon credentials directly on an active destination, but i didnt found it so far in RDM settings > user interface > keyboard.
This function is very usefull for us while working via remote.
Is it possible in RDM to configure such a thing?
Best Regards,
Andreas
Hello Andreas,
Thank you for contacting us on that matter!
You should be able to paste your credentials using the "CTRL + V" key combination. Do you experience any issues when you use this method? Also, which version of RDM and what type of Data Source you are currently using? Are you pasting these credentials on the login page of your web, RDP, or SSH connections?
Best regards,
James Lafleur
Hi James
Thanks for your Answer.
Haha, yes i know that Shortcut, thanks ;-)
Were migrating from Password Safe to Devolution Server with RDM and the Users are used to use the direct paste Combination for Username and Password.
You can configure there a directly paste Method (Example CTRL+Shift+U for direct insert Username) and now the Pilot Testusers are asking for this Pasting Method. I didnt find something like that, only for getting the Credentials into the clipboard.
Best Regards,
Andreas
Hello Andreas,
Thank you for your reply!
In order to see if that is something that can be implemented in RDM, we would like to first confirm the way it currently works in Password Safe to see if that is something that can be done in RDM.
In short, you would select a credential in RDM, then go in an external application (or in RDM), do the shortcut and it will copy the credentials and paste them automatically?
Best regards,
James Lafleur
Hi James
Yes, exactly. An entry must always be selected first in RDM.
There are several Options to Paste directly in Password Safe:
Those Options are very, very usefull and the most used feature in our Company.
Also it looks that its not possible to configure own Keysets in RDM. Or maybe i do something wrong?
Do you need more Informations?
Best Regards,
Andreas
Hello Andreas,
Thanks a lot for the details and for the examples. I think this is a very interesting idea. Currently we have entries for macros in RDM, but we don't have the ability to assign macros directly to shortcuts as is possible in Password Safe. We have a section in our options for keyboard shortcut assignments (File > Options > User Interface > Keyboard) so I'm thinking we could add it there.
I've opened a ticket so we can add this to RDM. We'll update this thread once we have an update on the feature.
Regards,
Hubert Mireault
Hello,
I can confirm that this is one of the most popular features in the Password Safe software in our company as well. I am currently doing a migration from PSR to RDM and I am really sad that this feature is not available anymore. We specialize in development and system engineering. My colleages and myself use this feature many many times a day.
Is there already a way to get this working e.g. with a macro?
Best regards
Hello,
At the moment you could achieve something like this with a macro, it just wouldn't be as convenient as with a keyboard shortcut. Here is what I think the flow would be with what we currently have:
And when you want to execute the macro, you would need to do this
With the keyboard shortcut feature we want to work on, it will help simplify the second part of the process. Let me know if you have any questions!
Regards,
Hubert Mireault
Hey Hubert
Thank you very much for that input, that looks very interessting.
I have 3 Questions:
Im missing in the following documentation the Field Variables: Event Auto Typing Macro (devolutions.net)
And when im using $USERNAME${TAB}$PASSWORD$ it pastes me the username, a tab and then plain text $PASSWORD$.
Best Regards,
Andreas
Hello Andreas,
Let me answer your three questions and give you a bit more information:
This will allow you to execute the macro you have stored in your user vault on an entry from a shared vault. As a note regarding that, I just found out that specifically in the case of credentials, this option doesn't work. This is a bug and we'll be fixing this soon.
This will give you a window where you can see what variables are available. When used in a macro, they will resolve according to the selection you've made, which is what the macro will be executed against.
As for $PASSWORD$ not resolving, this is normal. By default, resolving the $PASSWORD$ variable is not enabled for security reasons. You will need to ensure a few things to allow for the variable to resolve:
I hope this answers your questions on the current functionality of typing macros in RDM!
Regards,
Hubert Mireault
Hi Hubert
Thank you for the details.
Ive configured everything exact like you mentioned, but my Macros still only types $PASSWORD$.
Macro Config:
Entry:
Running via Right-Click > Macros/Script/Tools > Paste Username & Password
Result in Notepad:
System Settings:
Using Versions:
RDM 2021.2.16.0
DVLS 2021.1.20.0
Any idea why this dont work for us?
We need this function urgently because our Supporters need them very often for inserting strong Passwords on remote Consoles in hypervisors.
Best Regards,
Andreas
Hello Andreas,
Did you make sure to enable "allow password in variables" on the credential entry as well?
This is required alongside the change in the system settings. Any entry on which you want to be able to resolve the $PASSWORD$ variable requires this option to be checked.
Regards,
Hubert Mireault
Hi Hubert
Thank you, that did the Trick!
It looks like, that all the existent Entries has this Option not enabled. Is it maybe possible to activate this option by default?
In this case, im wondering how to get the Value via DVLS Module. When i compare the returned Data between set and not set value, my powershell window doesnt returns any difference by comparing Get-DSEntry -VaultID GUID -EntryId GUID before and after changing the value.
Also another Question:
It looks like that the typing macro isnt working for remote consoles like vmware.
Is there another option to paste a password from RDM? The main problem is, that copy/paste doesnt work via remote consoles by default.
Best Regards,
Andreas
Hello Andreas,
Glad this works for you!
The best way to have this option enabled by default on new entries would be to create your entries with a template. If the option is set in the template, it will also be set when creating an entry from that template.
For your already existing entries, you could run a Powershell script to set the value. This can be done even within RDM. You can find the batch action for running a custom powershell command here: select the entries you want to modify > right click > edit > edit (special actions) > custom powershell command. Then the script would look something like this:
$connection.AllowPasswordVariable = $True; $RDM.Save();
Regarding the Get-DSEntry powershell method, I will get back to you, I've contacted the team in charge.
For the typing macro not working for vmware remote consoles, unfortunately we don't have an alternative at the moment. The typing macro itself should simulate keystrokes, it isn't simply a copy+paste, so maybe there is another thing blocking it from working. Is this something that worked with the feature in Password Safe?
Regards,
Hubert Mireault
Hi Hubert
Thank you for the Input.
I think i will wait for the DVLS Powershell Option, because we have allready over 200k Entries in all Vaults (will be a "little" faster with DVLS Module).
Yes, the Paste Option works well in Password Safe, also in remote Consoles. I dont think there is something blocking it, because PWSafe still works.
Would be great if those Macros could be enhanced to get it working in remote consoles and also get some shortcut possibilities for it!
Best Regards,
Andreas
Hello Andreas,
The DVLS team got back to me and you should be able to achieve the change with the following in the DVLS Powershell module:
Get-DSEntry -AsRDMConnection
This will let you get the full "connection" object. Then in this object you want to set AllowPasswordVariable to true. Afterwards to save the entry you can use this method:
Update-DSEntryBase
Make sure you are on the 2021.7.0 branch of the module, which I think you already are from seeing your other thread. If this doesn't work or you need additional help, let us know.
Regarding the macros not working in vmware consoles, we'll have to see what other techniques we could use for this kind of scenario. We should be able to reproduce this internally as I know we have some vmware environments.
Regards,
Hubert Mireault
Hello Andreas,
Here is the detailed information, as well as the steps on how to change the property using the DVLS module.
Since an example is easier to understand:
$ConnectionInfo = (Get-DSEntry -EntryId '3d0c68f4-d1d4-46bb-a10c-197b01a70d73' -AsRDMConnection).Body.data.connectionInfo $Data = Convert-XMLToPSCustomObject ([xml]$ConnectionInfo.data) $Data.Connection | Add-Member -NotePropertyName 'AllowPasswordVariable' -NotePropertyValue 'true' -Force $DataXml = (Convert-PSCustomObjectToXML $Data.Connection) $ConnectionInfo.data = Convert-XMLToSerializedString $DataXml $res = Invoke-WebRequest -Uri 'http://localhost/dps/api/connection/save' -Method 'PUT' -Body (ConvertTo-Json $ConnectionInfo) -ContentType 'application/json' -WebSession $Global:WebSession
Best regards,
Richard Boisvert
Hi All
Is there any News about the Shortcut possibility for direct Paste Username and/or Password?
Best Regards,
Andreas
Hello Andreas,
If we don't have any problems implementing it, it should make it in our next major RDM version, planned for release early next year (January/February, most likely).
Regards,
Hubert Mireault
Huge Thanks, Hubert!
Best Regards,
Andreas
Hello,
We've implemented the macro shortcuts feature. It will be included in our next major update.
Regards
Jonathan Del Signore
Hi Jonathan
Thanks for the great News! Do you have a Release Date?
Looking forward for the Update.
@Richard Boisvert
Your snipped works, thanks. Is there also an Option to check, if the Entry has already this permission set? Otherwise i will update every Entry the whole time when the Script runs.
Thanks,
Andreas
Hello Andreas,
Unfortunately we don't have an exact release date yet. We're still aiming for January/February.
Regards
Jonathan Del Signore
Hi
Small Question:
Is it fixed that the Password Insert Function via Macro is able to paste Passwords also in Remote Consoles?
I just tested it with RDM Enterprise 2021.2.26.0 and a vSphere Web Console, and im not able to paste anything in the Console with the Macros.
My Macro Setup:
I also tried it with the other Execution modes.
Pasting in local Notepad works as expected.
With Password Safe this works.
Best Regards,
Andreas
Hello Andreas,
Could you give us more info on the VMware entry you're using ? I'd especially like to know the Display mode and Console Type.
The Typing Macro works as expected for me when launching the entry in Embedded mode, so I'd like to make sure to have the same setup as you.
Regards
Jonathan Del Signore
Hi Jonathan
Im talking about a Console Session in my Browser, not within RDM.
In example: Having an open VMWare Web Console in my Edge and want to insert a Password String while login on the remote VM in that console.
Best Regards,
Andreas
Oh sorry I misunderstood.
Yes this issue is still current, and I see we have an opened ticket for it so I'll bump up the priority and come back to you as soon as we have an update.
Regards
Jonathan Del Signore
Hi
Ive found a new Hotkey "Execute Typing Macro" in Keyboard Config:
Is there a Documentation how to use this Hotkey? I think there must exist a link to a specific Typing Macro?
Is there also any News about the Pasting Problem in Hypervisor Consoles?
Im still not able to paste a simple Password with the Typing Macro within a Remote Console (VMWare Web Console).
I tested some with AutoIt, and this Code is just pasting fine the whole String into a Remote Console (it also doesnt matter, if the remote Keyboard Language is wrong):
Local $sClipData = ClipGet() $aStringSplit = StringSplit($sClipData, "") For $i = 1 To $aStringSplit[0] send($aStringSplit[$i]) Next
Is it possible, to change the Pasting Function like the Insert Routine above?
Bets Regards,
Andreas
Hello Andreas,
The "Execute Typing Macro" hotkey is used to execute the typing macro configured in the "After Open" event of a session. So simply select the session you want in the tree to execute it.
As for the issue with Macros used in Web consoles, I've been testing a few things in order to get it working, but unfortunately I don't have any positive results so far.
I'm not exactly sure yet what's preventing us to type in these types of consoles, but be assured that I'll keep you posted on any updates I have regarding this.
Regards
Jonathan Del Signore
Hello,
We've added the option "Force sending macro through SendKeys API" in typing macro entries, which enables the possibility to send inputs to VMWare consoles.
This option will be available in version 2022.2.11.0.
Regards
Jonathan Del Signore
Hi again,
I just got word that this option seems to only work with Firefox, so that may be a workaround if you're having issues.
We'll reopen the ticket to see if we can make it work on Edge/Chrome.
Regards
Jonathan Del Signore
Hi Jonathan
To be honest, it looks like its still not a real typing macro. A typing macro is then a typing macro, when it takes a string, split it in every single character and send keyboard strokes for every character to the current active destination.
And this simply doesnt happens with RDM. It looks like for me it just pastes the whole string which isnt compatible with most consoles.
Ive written a small external tool for that, which currently just reads the copy username and password shortcut from rdm, launches the commands to get the specific strings into clipboard and then, as written above, do the split and keyboard send command for each single character which works perfect on everything.
In Example: Try to connect via mstsc on a remote jumphost, then open there a vmware console and paste a string from RDM. If that works with your solution, i agree that your typing macro is a real typing macro :-)
But i really like to see that there are coming additional features. Would be nice if we can use an out of the box feature in rdm.
Best Regards,
Andreas