KeeperPAM Commands
Management of KeeperPAM functionality including Discovery, Rotation, Connections and Tunneling.
Overview
KeeperPAM functionality including discovery, password rotation, PAM Configuration, Keeper Gateway configuration can be controlled and operated through Commander using the pam command and sub-commands.
pam Command
command: pam
Detail: Perform KeeperPAM controls.
My Vault> pam
pam command [--options]
Command Description
---------- -----------------------------------------
gateway Manage Gateways
config Manage PAM Configurations
rotation Manage Rotations
action Execute action on the Gateway
tunnel Manage Tunnels
split Split credentials from legacy PAM Machine
legacy Switch to legacy PAM commands
connection Manage Connections
rbi Manage Remote Browser Isolation
project PAM Project Import/ExportSub Commands
Sub-Command: gateway
Detail: View, create and remove Keeper Gateway services. To learn more about the Keeper Gateway click here.
new
Sub-Command: config
Detail: View, create, edit and remove Keeper PAM Configurations. To learn more about PAM Configurations click here.
new
edit
list
remove
Sub-Command: connection
This command will edit the connection parameters and user accounts that are attached to PAM Machine and PAM Database records. The process can also be done in bulk with the run-batch command. To launch the connection, use the Keeper vault or Desktop app.
Prerequisites: Ensure that the PAM user credential, PAM Machine or PAM Database records are staged in a shared folder. Also ensure that there is a gateway configured, and everything is tied together in a PAM Configuration.
edit
examples:
example 1: Creates an RDP connection and assigns an administrative credential and PAM configuration. Activates the connection and screen recording.
example 2: Creates an SSH connection and assigns and administrative credential and PAM configuration. Activates the connection and screen recording while running in silent mode without screen outputs.
example 3: Creates an MSSQL connection and assigns and administrative credential and PAM configuration. Activates the connection and typescript recording.
Sub-Command: rbi
This command provides the ability to edit remote browser isolation settings for a record.
edit
Sub-Command: rotation
Detail: View and create Keeper Rotation configuration for records.
edit
Example - Set the rotation schedule using JSON
The --schedulejsonor -sj params are used to set the schedule via JSON.
Rotate the PAM User record every month, on the 1st, at 4:00AM my time.
Rotate the PAM User record every week on a Saturday, at 10:00PM my time.
The following are the valid schedule types.
ON DEMAND
The job is triggered manually on demand.
DAILY
The job is triggered every day.
type- DAILYtime- A 24 hours formatted time when the jobs should be triggered.tz- You local IANA time zone. (i.e., America/Chicago)intervalCount- Optional; The number of days between triggers. Allows ability to skip days.
WEEKLY
The job is triggered every week.
type- WEEKLYweekday- Week day name. Must be the full name, all in uppercase.SUNDAY
MONDAY
TUESDAY
WEDNESDAY
THURSDAY
FRIDAY
SATURDAY
time- A 24 hours formatted time when the jobs should be triggered.tz- You local IANA time zone. (i.e., America/Chicago)intervalCount- Optional; If set to a value greater than 1,weekdaywill be ignored. The job will be triggers the multiple times per week starting on Sunday. The day will be based on the value ofintervalCount.
MONTHLY_BY_DAY
The job is triggered every month on a specific month day.
type- MONTHLY_BY_DAYmonthDay- Day of the month. Starts at 1 and goes to max number of days per month. Remeber that 29 can be a leap year day.time- A 24 hours formatted time when the jobs should be triggered.tz- You local IANA time zone. (i.e., America/Chicago)intervalCount- Optional; If set to a value greater than 1, the job will trigger on themonthDayand will re-trigger everyintervalCountdays.
MONTHLY_BY_WEEKDAY
The job is triggered every month on a specific week day and time.
type- MONTHLY_BY_WEEKDAYweekday- Week day name. Must be the full name, in all uppercase.SUNDAY
MONDAY
TUESDAY
WEDNESDAY
THURSDAY
FRIDAY
SATURDAY
occurrence- Which week to trigger. If fifth week, useLAST.FIRST
SECOND
THIRD
FOURTH
LAST
time- A 24 hours formatted time when the jobs should be triggered.tz- You local IANA time zone. (i.e., America/Chicago)intervalCount- Optional; If set, and set to value other than 1, the trigger will start on theweekdayand then trigger everyintervalCountweeks.
YEARLY
The job is triggered yearly on a specific month, day and time.
type- YEARLYmonth- Month name. Must be the full month name, in all uppercase.JANUARY
FEBURARY
MARCH
APRIL
MAY
JUNE
JULY
AUGUST
SEPTEMBER
OCTOBER
NOVEMBER
DECEMBER
monthDay- Day of the month. Starts at 1 and goes to max number of days per month. Remeber that 29 can be a leap year day.time- A 24 hours formatted time when the jobs should be triggered.tz- You local IANA time zone. (i.e., America/Chicago)intervalCount- Optional; If set, and set to value other than 1, everyintervalCountyear will be triggered.
Example - Set the password complexity for the PAM User
The --complexity or -x params are used to set the password complexity.
Set the password complexity to create a 20 character password with a minimum of 1 uppercase letter, 4 lowercase letters, 2 digits, and 2 symbols from the symbol set .=+- .
The value is a comma separated value (CSV) style value with the following parts:
Overall password length
Minimum number of uppercase letters.
Minimum number of lowercase letters.
Minimum number of digits.
Minimum number of symbols.
Special set. After last comma, just type the special characters you would like. You are limited to symbols in the following set. If left blank, this symbol set will be used.
list
Display a list of all resources configured for rotation
info
Display information about the rotation settings for a particular resource.
script
Manage post-rotation PAM scripts
Sub-Command: action
Detail: Discovery, rotation and service account management of PAM Resources
gateway-info
Display information about the specific Keeper Gateway.
discover
Manage Discovery jobs
discover start
Start a discovery job
discover status
Display the status of a discovery job
discover remove
Stop a running discovery job
discover process
Process the findings of a discovery job
discover rule
Manage discovery rules
discover rule add
Add a discovery rule
rotate
Issue a credential rotation on the specific resource, folder of resources, or pattern in the resource title. Optionally send an email with a one-time share link through a configured email provider.
job-info
Display information about the running job
job-cancel
Cancel a running job
service list
Display the services and scheduled tasks associated to a specific Keeper Gateway
service add
Add an association for a service to a specific Keeper Gateway and PAM Machine. Once associated, Keeper will update the credentials for that service, on the specific PAM Machine, and restart the service (if running).
service remove
Remove an association for a service on a specific PAM Machine.
Sub-Command: tunnel
Detail: View and create Keeper Tunnels from the local machine to target infrastructure.
start
Start a tunnel from the local device to the target resource
list
Display a list of all available tunnels running
stop
Stop a tunnel that is currently running
tail
Display information in the Keeper tunnel
edit
Edit the configuration of an existing Tunnel
Sub-command: split
Detail: Split a legacy PAM record into the new KeeperPAM format.
Sub-command: project
Detail: Create a KeeperPAM project (similar to the Quick Start Sandbox from the vault user interface).
The PAM Import command helps customers (such as MSPs) with thousands of managed companies to automate the creation of folders, gateways, machines, users, connections, tunnels and (optionally) rotations.
pam project import --name=project1 --filename=/path/to/import.json --dry-run
--name,-n→ Project name (overrides"project":""from JSON)--filename,-f→ JSON file to load import data from.--dry-run,-d→ Test import without modifying vault.
Import JSON Documentation
A step-by-step guide to importing Windows Servers as PAM Resources from a basic list of server hostnames can be found at this page: Importing PAM Resources
A more detailed specification for "pam project import" templates can be found at this GitHub README Page
If you require assistance, contact the Commander team ([email protected]).
Last updated
Was this helpful?

