No OTP button in Devolutions Password Manager when using "Linked (Vault)" credentials
Oliver,
I'm running RDM version 2024.2.10 with the Chrome Workspace extension. No Devolutions Server.
I tried your instructions but unable to get it to work. What else can I try?
Mario
Web login - OTP code not visible when using linked OTP entry
I do not see this. I'm on version 2024.1.0.4 from March 7, 2024.
Is there a specific condition for this to become visible? I use RDM and do not have Devolutions Server.
Thanks,
Mario
Import script - Create a credential, then a folder object from a template and link credential plus add hostname and IP to folder
Eric,
I happily report your adjusted code worked beautifully and in one shot error-free.
Now I can start loading my real data from CSV and populate my structure.
Many thanks!
-MA
Import script - Create a credential, then a folder object from a template and link credential plus add hostname and IP to folder
Eric,
I was told that given the nature of my template (multi-object), I had to do a Get-RDMSession command to get that folder-object and then try to add the data to it. I still cannot add the IP to the General tab. Below is the updated code.
*** Additionally, I'm unable to run the code in one shot. I have separated the segments with blank rows (5 & 9) below to show how I'm running it to run successfully.
1 Import-Module "${env:ProgramFiles(x86)}\Devolutions\Remote Desktop Manager\RemoteDesktopManager.PowerShellModule.psd1"
2 $creds =New-RDMSession -Name "VMware server root" -Type Credential -Group "Acme Inc\Credentials\Vendors"
3 $creds.Credentials.UserName="root"
4 Set-RDMSession $creds
5
6 Set-RDMSessionPassword -ID $creds.ID -Password (ConvertTo-SecureString "monkey123" -AsPlainText -Force)
7 $group-templ = New-RDMSession -Name "VMwareHost5" -Type TemplateGroup -TemplateID "be661754-5b8c-4562-a689-627add40e55e" -Group "Acme Inc\Client assets\VMwareHost5\"
8 Set-RDMSession $group-templ
9
10 $group-obj = Get-RDMSession | where {$_.name -eq "VMwareHost5"}
11 $group-obj.CredentialConnectionID = $creds.ID
12 $group-obj.Host ="VMwareHost5"
13 $group-obj.HostDetails.IP ="192.168.1.33"
14 $group-obj.Description = "in datacenter 5; rack 21; row 15/Dell ST: ABC123456"
15 Set-RDMSession $group-obj –Refresh$group-obj.IP = "192.168.1.33" reports an invalid "IP" parameter.
Note I removed the "-Refresh" in lines 4 and 8 in an effort to expedite processing.
What is the correct field to populate the IP under the General tab?
What do you recommend to implement in a script where the code needs to run all at once?
-MA
Import script - Create a credential, then a folder object from a template and link credential plus add hostname and IP to folder
I manually created my server-type object and noticed I get a different set of XML tags. I do not have "MetaInformation". The equivalent for the section for me is "GroupDetails" only with the Host and IP blocks. Since I'm not using embedded username/password those fields are missing as expected. See below:
<ConnectionType>Group</ConnectionType>
<CredentialConnectionID>6923dc9b-00d0-4125-853c-c6886561b3e9</CredentialConnectionID>
<CredentialConnectionSavedPath>Acme Inc\Client assets\VMware server</CredentialConnectionSavedPath>
<Description>in datacenter 5; rack 21; row 15/Dell ST: ABC123456</Description>
<Group>VMwareHost1</Group>
<Name>VMwareHost1</Name>
<UpdateDateTime>2021-05-19T00:25:46</UpdateDateTime>
<GroupDetails>
<GroupType>Server</GroupType>
<Host>VMwareHost1</Host>
<IP>192.168.1.33</IP>
</GroupDetails>
I noticed the extra block "MetaInformation" appear when I populated the Host and IP under the Asset information. This is not what I'm looking for. I need the Host and IP from the General tab.
Thanks,
MA
Import script - Create a credential, then a folder object from a template and link credential plus add hostname and IP to folder
Adding MetaInformation does not work with IP or MachineName. Same error:
With regards to credentials. I'd like to link to a credentials object not to add them into the object.
MA
Import script - Create a credential, then a folder object from a template and link credential plus add hostname and IP to folder
It's a server-type folder object.
Yes, the template has the server-folder object at the top, and the connection objects in it.
My code only fails when trying to add the credentials, Host and IP. Name and Description work fine.
MA
Import script - Create a credential, then a folder object from a template and link credential plus add hostname and IP to folder
Eric,
Here are the errors:
Thanks,
MA
Import script - Create a credential, then a folder object from a template and link credential plus add hostname and IP to folder
Hi,
I have a simple script that I'm building upon more detail. I need help linking the credential and adding the additional data to the folder object.
My RDM structure follows the following sample:
Main folder \
Folder object type1\
Folder object1\
object1
object2
object3
Folder object2\
object1
object2
Folder object type2\
For example, I would have a path like this:
Acme Inc\Client assets\VMwareHost1\
and this path would have 3 objects http VMwareHost1, ssh VMwareHost1 and winscp VMwareHost1
The three objects in my example above inherit credentials from the VMwareHost1 parent folder, as well as the Host name and IP. They use variables $COMPUTER_HOST$ (object name), $COMPUTER_IP$ (for web/ssh/winscp parameters), $USERNAME$ and $PASSWORD$ for parameter credentials passed on to local tools or via Devolutions Web Login.
I have an RDM template of the Folder object containing the tree connection objects.
A sample import string would look like:
Name,Hostname,IP,username,password,description
VMware server,VMwareHost5,192.168.1.33,root,monkey123,in datacenter 5; rack 21; row 15/Dell ST: ABC123456
Test code:
1 Import-Module "${env:ProgramFiles(x86)}\Devolutions\Remote Desktop Manager\RemoteDesktopManager.PowerShellModule.psd1"
2
3 $creds =New-RDMSession -Name "VMware server root" -Type Credential -Group "Acme Inc\Credentials\Vendors"
4 $creds.Credentials.UserName="root"
5 Set-RDMSession $creds -Refresh
6 Set-RDMSessionPassword -ID $creds.ID -Password (ConvertTo-SecureString "monkey123" -AsPlainText -Force)
7 $group-templ = New-RDMSession -Name "VMwareHost5" -Type TemplateGroup -TemplateID "12345678-9012-1234-5678-901234567890" -Group "Acme Inc\Client assets\VMwareHost5\"
8 $group-templ.CredentialConnectionID = $creds.ID
9 $group-templ.IP = "192.168.1.33"
10 $group-templ.Host = "VMwareHost5"
11 $group-templ.Name = "VMwareHost5"
12 $group-templ.Description = "in datacenter 5; rack 21; row 15/Dell ST: ABC123456"
13 Set-RDMSession $group-templ–RefreshSet-RDMSession $website –Refresh
Failing lines:
8 $group-templ.CredentialConnectionID = $creds.ID
9 $group-templ.IP = "192.168.1.33"I need help executing correctly the above two lines against the folder object (created at line 7).
Thanks in advance!
-MA
PS. I'm running RDM 2021.1.25.0 with a SQL database
Import creates multiple objects linked to credentials object
Hubert,
Thanks for your response. I had a ticket already and was told this was not supported. They suggested posting a feature request.
At the moment we are importing in three batches: credentials, websites, RDP connect. And then linking the websites and RDP connections to the credentials.
The tricky part during import, I assume is the linkage of credential with the secondary object on-the-fly.
Mario
Import creates multiple objects linked to credentials object
Hi,
I have list of credentials with URL or system's IPs. This means, my credentials are for websites or for local/remote systems.
When importing this list of credentials, I would like to be able to create two objects for each, one for the credential itself, and a second object for the website (web object) or an RDP object, both linked to the credential they have in common.
I understand this is not possible. The tough part is knowing the uniqueID of the credential to link to the objects.
Auto-refresh after unlock
We implement the idle-lock feature as a security measure. The lock goes in effect usually between 30-45 mins of idle time, or when the Windows session is locked.
After typing our password and unlocking RDM, we always have to go to hit refresh. This is done several times during the work day and it becomes annoying to users.
-> It would be nice to have this refresh to be automatic after an unlock event
Mario