Skip to main content

CyberArk Privileged Session Manager RDPFile Generator

Project description


CyberArk Privileged Session Manager RDPFile Generator for Python 3


Supported Parameters

  • base_uri (required)
  • username (required)
  • password (required)
  • address (required)
  • authtype (cyberark, ldap, windows, radius)
  • otpmode (required if authtype='radius' - push, challenge, append - default: push)
  • otp (required if authtype='radius' and otpmode=challenge or otpmode=append)
  • platformid (default: PSMSecureConnect)
  • verify (default: True)

Generate RDPFile for PSM-RDP Connections

from pypsm import RDP

# Configure the connection details
psmconnect = RDP(base_uri='', username='user', password='password123', address='', authtype='radius', otpmode='push')
# Retrieve RDPFile data from CyberArk and create `connect.rdp` locally

Secure Handling of Username + Password

It is recommended to use environment variables within the script that can be populated at runtime. These should not be placed into script variables and should be used just-in-time (JiT).



Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cybr-pypsm-1.0.6.tar.gz (4.1 kB view hashes)

Uploaded source

Built Distribution

cybr_pypsm-1.0.6-py3-none-any.whl (5.2 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page