🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

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

1.0.6
Source
PyPI
Maintainers
1

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

cyberark

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