Python sample script for PAM Rest API calls

book

Article ID: 224746

calendar_today

Updated On:

Products

CA Privileged Access Manager (PAM)

Issue/Introduction

We are looking for sample scripts using PAM Rest API resources from Python scripts.

Environment

Applies to any PAM implementation

Resolution

Attached is a Python sample script that creates a device, target application and target account using PAM Rest API calls. It also demonstrates getting cluster site info using a Rest API call.

Attachments

1632541114671__PAMRestAPIDemo.py get_app