For the complete documentation index, see llms.txt. This page is also available as Markdown.

PAM Rotation Commands

View and create Keeper Rotation configuration for records.

Rotation List command

Display a list of all resources configured for rotation

DotNet CLI

Command: pam-rotation list

Alias: pam-rot list / pam-rot l

Parameters:

Parameter
Description

--verbose, -v

Include Gateway UID and PAM Configuration UID columns

Examples:

DotNet SDK

Function:

    public static async Task<PamProto.PAMRotationSchedulesResponse> GetRotationSchedulesAsync(IAuthentication auth)
    {
      if (auth == null)
      {
        throw new ArgumentNullException(nameof(auth));
      }

      var request = new PamProto.PAMGenericUidsRequest();
      return await auth.ExecuteRouter<PamProto.PAMRotationSchedulesResponse>(
        GetRotationSchedulesPath,
        request);
    }
Power Commander

Command: Get-KeeperPamRotationList

Alias: pam-rotation-list / pam-rot-list

Parameters:

Parameter
Description

-VerboseOutput, -v

Include Gateway UID and PAM Configuration UID columns

Examples:

Python CLI

Command: Coming Soon

Python SDK

Command: Coming Soon

Rotation Info command

Display information about the rotation settings for a particular resource.

DotNet CLI

Command: pam-rotation info

Alias: pam-rot info / pam-rot i

Parameters:

Parameter
Description

--record, -r

Record UID, name, or title

--record-uid

Record UID alias for --record

--format {table,json}

Output format. Default: table

* One of --record or --record-uid is required.

Examples:

DotNet SDK

Function:

Power Commander

Command: Get-KeeperPamRotationInfo

Alias: pam-rotation-info / pam-rot-info

Parameters:

Parameter
Description

-Record, -r

Record UID, name, or title

-RecordUid

Record UID alias for -Record

-Format {table,csv,json}

Output format. Default: table

* One of -Record or -RecordUid is required.

Examples:

Python CLI

Command: Coming Soon

Python SDK

Command: Coming Soon

Rotation Edit command

Create or update PAM record rotation configuration. Use --record for a single record, or --folder for bulk setup.

DotNet CLI

Command: pam-rotation edit

Alias: pam-rot edit / pam-rot e / pam-rotation new / pam-rot new

Parameters:

Parameter
Description

--record, -r

Record UID, name, or pattern

--folder

Folder UID or name for bulk rotation setup

--force, -f

Skip confirmation prompts

--config, -c

PAM configuration UID or title

--iam-aad-config

IAM/Azure AD PAM configuration UID (instead of --resource)

--resource

Admin resource record UID or title

--rotation-profile

Rotation profile: general, iam_user, scripts_only, saas

--saas-config-uid

SaaS configuration UID (for saas profile)

--schedule-json

Rotation schedule JSON

--schedule-cron

Rotation schedule CRON expression

--on-demand

Configure manual (on-demand) rotation

--schedule-config

Inherit schedule from PAM configuration

--schedule-only

Only update rotation schedule

--complexity, -x

Password complexity CSV: length,upper,lower,digits,symbols[,chars]

--complexity-json

Password complexity rules as JSON

--admin-user, -a

PAM user record UID to set as admin credential on resource

--enable, -e

Enable rotation

--disable, -d

Disable rotation

* One of --record or --folder is required (not both).

* Do not combine --resource and --iam-aad-config, or --enable and --disable.

Examples:

DotNet SDK

Function:

Power Commander

Command: Set-KeeperPamRotation

Alias: pam-rotation-edit / pam-rot-edit / pam-rotation-new / pam-rot-new

Parameters:

Parameter
Description

-Record, -r

Record UID, name, or pattern

-Folder, -fd

Folder UID or name for bulk rotation setup

-Force, -f

Skip confirmation prompts

-Config, -c

PAM configuration UID or title

-IamAadConfig, -iac

IAM/Azure AD PAM configuration UID

-Resource, -rs

Admin resource record UID or title

-RotationProfile, -rp

general, iam_user, scripts_only, saas

-SaasConfigUid

SaaS configuration UID (for saas profile)

-ScheduleJson, -sj

Rotation schedule JSON

-ScheduleCron, -sc

Rotation schedule CRON expression

-OnDemand, -od

Configure manual on-demand rotation

-ScheduleConfig, -sf

Inherit schedule from PAM configuration

-ScheduleOnly, -so

Only update rotation schedule

-Complexity, -x

Password complexity CSV

-ComplexityJson

Password complexity rules as JSON

-AdminUser, -a

PAM user record UID for admin credential

-Enable, -e

Enable rotation

-Disable, -d

Disable rotation

* One of -Record or -Folder is required (not both).

Examples:

Python CLI

Command: Coming Soon

Python SDK

Command: Coming Soon

Rotation Script list command

This command is used to List post-rotation scripts attached to PAM records.

DotNet CLI

Command: pam-rotation script list

Alias: pam-rot script list / pam-rot script l

Parameters:

Parameter
Description

--pattern

Record UID or title filter

--record, -r

Same as --pattern (record filter)

<filter> (positional)

Record UID/title filter

Examples:

DotNet SDK

Function:

Power Commander

Command: Get-KeeperPamRotationScript

Alias: pam-rotation-script-list / pam-rot-script-list

Parameters:

Parameter
Description

-Pattern

Record UID or title filter

-Record, -r

Same as -Pattern

Examples:

Python CLI

Command: Coming Soon

Python SDK

Command: Coming Soon

Rotation Script add command

This command is used to Upload a local script file and attaches it as a post-rotation script.

DotNet CLI

Command: pam-rotation script add

Alias: pam-rot script add / pam-rot script new / pam-rot script a

Parameters:

Parameter
Description

--record, -r / <record> (positional)

Record UID or title (pamUser / pamDirectory)

--script / <script> (positional)

Local script file path to upload

--run-command

Command line to run the script after rotation

--script-command

Alias for --run-command (unless value is a subcommand name)

--add-credential

Record UID(s) with rotation credentials to link

Examples:

DotNet SDK

Function:

Power Commander

Command: Add-KeeperPamRotationScript

Alias: pam-rotation-script-add / pam-rot-script-add

Parameters:

Parameter
Description

-Record, -r / positional

Record UID or title

-RecordUid

Record UID alias

-Script / positional

Local script file path

-RunCommand

Command line to run after rotation

-ScriptCommand

Alias for -RunCommand

-AddCredential, -ac

Credential record UID(s) to link

Examples:

Python CLI

Command: Coming Soon

Python SDK

Command: Coming Soon

Rotation Script edit command

This command is used to Update an existing post-rotation script on a PAM record.

DotNet CLI

Command: pam-rotation script edit

Alias: pam-rot script edit / pam-rot script e

Parameters:

Parameter
Description

--record, -r / <record> (positional)

Record UID or title

--script / <script> (positional)

Script file UID or name to update

--run-command

New command line to run the script

--script-command

Alias for --run-command

--add-credential

Credential record UID(s) to link

--remove-credential

Credential record UID(s) to unlink

Examples:

DotNet SDK

Function:

Power Commander

Command: Set-KeeperPamRotationScript

Alias: pam-rotation-script-edit / pam-rot-script-edit

Parameters:

Parameter
Description

-Record, -r / positional

Record UID or title

-RecordUid

Record UID alias

-Script / positional

Script file UID or name

-RunCommand

New command line to run

-ScriptCommand

Alias for -RunCommand

-AddCredential, -ac

Credential record UID(s) to link

-RemoveCredential, -rc

Credential record UID(s) to unlink

Examples:

Python CLI

Command: Coming Soon

Python SDK

Command: Coming Soon

Rotation Script delete command

This command is used to remove a post-rotation script from a PAM record.

DotNet CLI

Command: pam-rotation script delete

Alias: pam-rot script delete / pam-rot script d

Parameters:

Parameter
Description

--record, -r / <record> (positional)

Record UID or title

--script / <script> (positional)

Script file UID or name to remove

Examples:

DotNet SDK

Function:

Power Commander

Command: Remove-KeeperPamRotationScript

Alias: pam-rotation-script-delete / pam-rot-script-delete

Parameters:

Parameter
Description

-Record, -r / positional

Record UID or title

-RecordUid

Record UID alias

-Script / positional

Script file UID or name

Examples:

Python CLI

Command: Coming Soon

Python SDK

Command: Coming Soon

Last updated

Was this helpful?