Metadata-Version: 2.1
Name: cybr-pypsm
Version: 1.0.4
Summary: CyberArk Privileged Session Manager RDPFile Generator
Home-page: https://github.com/infamousjoeg/pypsm
Author: Joe Garcia
Author-email: joe.garcia@cyberark.com
License: MIT
Project-URL: Bug Reports, https://github.com/infamousjoeg/pypsm/issues/new?assignees=&labels=&template=bug_report.md&title=
Project-URL: Feature Requests, https://github.com/infamousjoeg/pypsm/issues/new?assignees=&labels=&template=feature_request.md&title=
Project-URL: Source, https://github.com/infamousjoeg/pypsm
Keywords: cyberark,security,vault,psm,rdp,privileged access,identity,pam,pim,pas
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Natural Language :: English
Classifier: Topic :: Office/Business
Classifier: Topic :: Security
Classifier: Topic :: Security :: Cryptography
Classifier: Topic :: Software Development
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: System :: Systems Administration
Classifier: Topic :: Utilities
Description-Content-Type: text/markdown

# 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

```python
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

