For the complete documentation index, see llms.txt. This page is also available as Markdown.
PAM Connection Commands
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
Connection Edit command
Edits connection settings on PAM resource records (pamMachine, pamDatabase, pamDirectory, etc.) or on a PAM Configuration record. Updates vault fields (protocol, port override, scrollback, admin/launch credentials).
DotNet CLI
Command: pam-connection edit
Alias: pam-conn edit / pam-conn e
Parameters:
Parameter
Description
<record> (positional)
PAM resource or PAM Configuration UID / title
--configuration, -c
PAM Configuration UID or title (required when the resource is not already linked)
--admin-user, -a
PAM User UID/title for the admin credential on the resource
--launch-user
PAM User UID/title for the launch credential
--clear-launch-user
Remove the launch credential from the resource (pamMachine / pamDatabase / pamDirectory only)
Port override for connections. Empty string clears
--key-events, -k
Key events (recordingIncludeKeys): on, off, or default
--scrollback
Terminal scrollback size. Empty string clears
--rotate-on-termination
Rotate launch credentials when the session ends: on or off (pamMachine / pamDatabase / pamDirectory only)
--silent, -s
Suppress summary output
Examples:
DotNet SDK
Function:
usingKeeperSecurity.Plugins.PAM;varresult=awaitConnectionUtils.EditConnectionAsync(vault,newPamConnectionEditOptions{Record="<RESOURCE_UID>",Configuration="<CONFIG_UID>",Connections="on",Protocol="ssh",AdminUser="<PAM_USER_UID>",LaunchUser="<PAM_USER_UID>",ConnectionsRecording="on",TypescriptRecording="default",ConnectionsOverridePort="2222",KeyEvents="on",Scrollback="1000",RotateOnTermination="on",Silent=false});foreach(varmessageinresult.Messages){Console.WriteLine(message);}if(result.RecordUpdated||result.GraphUpdated){Console.WriteLine($"Connection settings updated for {result.RecordUid}");}