Hello,
I'm currently trying to write a script which creates a .rdm file with the entries from our old password manager, which I can then import into RDM.
The problem I'm facing is that the passwords I set in the .rdm file, are after importing the file, not present in the expected field.
Under "Clipboard" > "Copy entry" > "Preview" I can see the entered password in the correct field, but it does not get displayed in the entry.
If I understand the documentation correct, this should somehow be possible: https://docs.devolutions.net/rdm/commands/file/import/rdm/strategies-file-format/.
I understand that there are alternative options like the CSV import or the API, but they do not seem to support all the entry types.
When I export a test entry from RDM, to get an overview of how the file should look like, I can see that the passwords get encoded in someway, but I do not comprehend exactly how. I found the Devolutions-Crypto repository (https://github.com/Devolutions/devolutions-crypto), which allows me to encrypt the content of the file, and then upon import decrypt with the master key (So it wouldn't be a problem if I can only set the password as plaintext).
So is it possible to set the passwords in the .rdm file either plaintext or encoded, so I can successfully import them? Or is there a different/better approach?
Example of a .rdm file, where this issue occurs:
<?xml version="1.0" encoding="utf-8"?>
<RDMExport>
<Connections>
<Connection>
<ConnectionType>Credential</ConnectionType>
<Name>Test PW</Name>
<Credentials>
<Domain>TEST</Domain>
<SafePassword>bpcdE9!9897}</SafePassword>
<UserName>TEST</UserName>
</Credentials>
</Connection>
</Connections>
<Version>2</Version>
</RDMExport>
Thanks in advance.
Hello,
Thank you for reaching out to the Devolutions support team.
Could you please let us know which password manager you used to export your CSV file? Additionally, did you use the preview or another export from RDM? It would be helpful to know if both CSV files have the same column names.
The Generic CSV Wizard should allow you to directly map your variables/column name from the CSV for import into RDM, including custom properties.
Could you specify which entry type is not functioning properly with the CSV?
After conducting some tests on my end, it seems that the issue may be related to the encryption key of the file you created.
I believe the best approach to resolve this is by using the Generic CSV Wizard. However, to assist you further, I will need to investigate this behaviour.
Best regards,
Patrick Ouimet
Hello,
The password manager from which I'm exporting the data is Delinea SecretServer, but I didn't export a CSV file. I'm accessing the data through the API of SecretServer and automatically generate an RDM file (example file is attached), which I then import into RDM with the Devolutions Server as a Datasource. To make sure I'm using the right fields in the RDM file, I both looked at the preview and exports from RDM and these fields seem to match.
I didn't use a CSV file yet because to my understanding it doesn't support importing any types of documents or certificates.
The problem I'm facing is that when importing this file, the password field doesn't get filled out. The question is, does this approach support plaintext passwords, like the CSV import?
Thanks and KR
test.rdm
Hello TS,
Thank you for this feedback.
I have checked the documentation on the API for the Secret Server.
There is no feature to export it as a .rdm.
Is the password in clear text before you change your file to an RDM one?
Best regards,
Patrick Ouimet