CyberArk Privileged Session Manager RDPFile Generator
Project description
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'
andotpmode=challenge
orotpmode=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
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)
Built Distribution
Close
Hashes for cybr_pypsm-1.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b9cd00db16c1aebce34831ca4144dca180f6767cd41546a512cefb8afaf6e26d |
|
MD5 | e60c3bbc04a40b8d5dbb422e25aad0eb |
|
BLAKE2b-256 | 279c62906e9683499dd689092293657c8994f491ae7fa0412a6448d27d53d24b |