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.5.tar.gz
(4.0 kB
view hashes)
Built Distribution
Close
Hashes for cybr_pypsm-1.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 160089b5f38b33fa90fe7752019da05409a5fdaecb1e3c701a0380d415fcd5bf |
|
MD5 | e0fb0e8fb2c4f6699a3e6200c5129e49 |
|
BLAKE2b-256 | 1c5e605e4d0feaf83d6106a931acf327c0a667399c7972984d2df6471d99078c |