Convert credential entries into templates

Convert credential entries into templates

1 vote

avatar

Hi Team, we are importing 1000+ entries within .csv files and store them as credentials. Later we want to manually convert them directly to templates e.g. web/ssh/rdp. Currently i only see the option to convert to website first and in a 2nd step into templates. Would be helpfull to convert directly into templates.


thx Frank

All Comments (4)

avatar

Hello Frank,


Just to make sure I understand, you're importing as CSV credential entries, then you want to convert them to different types. My question would be, is there a reason that you're not directly importing to those types of entries? The CSV format supported by RDM supports importing as any supported type, so provided the CSV contains the type information (and other required fields, like a website for a Website entry), it should import to that type directly.


Regardless, I agree that it should be possible to perform this conversion even for credential entries (at least, the generic "username/password" one). I will open a ticket.


Regards,

Hubert Mireault

avatar

I have created a script that consolidates individual CSV export files into a single CSV file for import into RDM. The export files contain either credential or session entries. During the RDM import process, I have to choose one type; I opt for credentials, but I subsequently need to convert the session entries—such as those for web, SSH, or RDP—into the appropriate format.

avatar

Hello Frank,


If I understand your request correctly, there is no need to import everything as credentials first. One CSV file can contain different entry types:


  1. Add a ConnectionType column with the entry type for each row: Credential (username/password), WebBrowser (website), SSHShell, RDPConfigured, etc.

  2. In RDM, go to File => Import => Import generic CSV wizard and choose Session as the import type (not Credential).

  3. Each row is then created directly as the type in its ConnectionType column.


I attached a small sample file with one entry of each type.

To find the exact type name for other entry types, create an entry of that type, right-click it, select Clipboard => Copy and paste the result into a text editor. The ConnectionType value is shown there.


If you want to use templates, you have two options:

  • One template for all entries: in the wizard, choose Template as the import type and select the template. It is applied to every entry of that import, so in this case split your CSV into one file per entry type and import each file with its own template.

  • One template per entry: keep Session as the import type and add a Template column with the name of the template for each row. The template must be stored in the vault (local templates are not used). If no template with that name is found, the ConnectionType column is used instead, so keep it filled in as well.


Values from the CSV file replace the values from the template, and empty cells do too. If the template should provide fields such as the username, password or description, remove those fields in the mapping step of the wizard.

More details: https://docs.devolutions.net/rdm/ribbon-menu-bar/file/import/import-generic-csv-wizard/csv-import-strategies-and-file-format


Regards,

Min

avatar

Hi Min, you are right. While import i can choose also credential as connection type but for the mass import of 1000+ i am not able to classify every entry manually as this is to time consuming. Need to do this later with converting the entries into sessions.