Rotate the Credential of an IIS Application Pool


These examples will allow you to rotate the credential on an IIS Application Pool running as a Service Account that has its password rotated via Keeper PAM.

Pulling Parameters from the Record

The data in the record being rotated is made available to your script via a BASE64-encoded JSON string. This is passed into your script for consumption. When your script has finished execution, Clear-History is executed to ensure that the record data is not available for future PowerShell sessions.

# The Gateway will execute your script as follows
"BASE64STRING==" | .\your-script.ps1; Clear-History

Last updated