Importing PAM Records

Bulk import of Keeper PAM records and configuration

Keeper supports importing of PAM records through the Keeper Commander CLI.

Record Types Supported:

  • pamDatabase

  • pamDirectory

  • pamMachine

  • pamUser

Below is an example template in JSON format which imports 2 PAM Machine records, 2 PAM User records and adds then to a shared folder called "My Shared Folder".

{
  "shared_folders": [],
  "records": [
  {
      "title": "Test Machine 1",
      "$type": "pamMachine",
        "custom_fields": {
        "$pamHostname": {
          "hostName": "207.148.1.154",
          "port": "22"
        },
        "$checkbox:sslVerification": true
      },
      "login": "some-username",
      "password": "some-password",
      "folders": [
        {
          "shared_folder": "My Shared Folder",
          "can_edit": true,
          "can_share": true
        }
      ]
  },
  {
      "title": "Test Machine 2",
      "$type": "pamMachine",
        "custom_fields": {
        "$pamHostname": {
          "hostName": "207.148.1.155",
          "port": "22"
        },
        "$checkbox:sslVerification": true
      },
      "login": "some-username",
      "password": "some-password",
      "folders": [
        {
          "shared_folder": "My Shared Folder",
          "can_edit": true,
          "can_share": true
        }
      ]
    },
    {
      "title": "Test User 1",
      "login": "some-user",
      "password": "some-password",
      "$type": "pamUser",
      "folders": [
        {
          "shared_folder": "My Shared Folder",
          "can_edit": true,
          "can_share": true
        }
      ]
    },
    {
      "title": "Test User 2",
      "login": "some-other-user",
      "password": "some-other-password",
      "$type": "pamUser",
      "folders": [
        {
          "shared_folder": "My Shared Folder",
          "can_edit": true,
          "can_share": true
        }
      ]
    }
  ]
}

To import this file, run the command:

import "c:\path\to\myfile.json" --format json

To see all import options:

 import -h

See the Commander SDK options for additional PAM automation capabilities.

Last updated