You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

cybr-pypsm

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cybr-pypsm

CyberArk Privileged Session Manager RDPFile Generator


Maintainers
1

Readme

pyPSM

CyberArk Privileged Session Manager RDPFile Generator for Python 3

Usage

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='https://cyberark.joegarcia.dev/', username='user', password='password123', address='10.0.4.48', authtype='radius', otpmode='push')
# Retrieve RDPFile data from CyberArk and create `connect.rdp` locally
psmconnect.connect()

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).

License

MIT

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc