Workflow for Key Export

This workflow exports user or host SSH keys in CSV or XLS format. You can filter the export by key group or include all keys, and the results are sent via email.

Prerequisites: Ensure SMTP is configured in the Platform to enable email delivery.

To run this workflow:

  1. Go to Menu > Automation > SERVICE REQUESTS > View/Run.
  2. Click the SSH category on the View/Run Workflows page.
  3. On the popup window, hover the mouse over the SSH_Key_Instance_Export workflow.
    The Run and Schedule buttons are displayed.
  4. Click .
    The RequestSSH_Key_Instance_Export :: FormBuilder page is displayed.
  5. Enter/select Key details.
    Table 1. Key details Section - Field and Description Table
    Field Description
    *Key Type Select a key type:
    • User Keys
    • Host Keys
    Filter Key Select a filter for the user key:
    • All - All discovered key
    • Missing - Keys missing on the device
    • Non-Missing - Keys present on the device
    Filter Hosts Select a filter for the host key:
    • All - All hosts
    • Reachable - Only hosts that are currently reachable
    • Unreachable - Hosts that are currently unreachable.
    • Deleted - Hosts that have been removed from the SSH host inventory.
    Key Format Select a filter for the key format:
    • All - exports both OpenSSH and SSH2 keys
    • OpenSSH - exports only keys in OpenSSH format
    • SSH2 - exports only keys in SSH2 format
    Filter Key Group Select whether to filter by key group:
    • No - Include all groups
    • Yes - Select from the Key Group dropdown
    Export Type Select the export format:
    • csv
    • xlsx
    *: Mandatory fields
  6. Enter/select Requester details.
    Table 2. Requester details Section - Field and Description Table
    Field Description
    *Email Address Enter one or more email addresses (comma-separated) to receive the exported file. For example: [email protected],[email protected].
    *: Mandatory fields
  7. Click Submit.
    The workflow is triggered. Upon success, the export file is emailed to the provided addresses.