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.1.tar.gz
(4.0 kB
view hashes)
Built Distribution
Close
Hashes for cybr_pypsm-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c0ea1cb534d025a48fa0027c76897b2ff3ef9fa884ebf1a3155f51392ae4cb17 |
|
MD5 | 926feafc71c1550b1e4ad1c5478ee07b |
|
BLAKE2b-256 | 5cde2d9dcca3ee412e86fb156b04641b0a77b538f7370b14b0dd02e48fe5f14c |