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.

Files for cybr-pypsm, version 1.0.6
Filename, size File type Python version Upload date Hashes
Filename, size cybr_pypsm-1.0.6-py3-none-any.whl (5.2 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size cybr-pypsm-1.0.6.tar.gz (4.1 kB) File type Source Python version None Upload date Hashes View

Supported by

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