Python lib to interact with ManageEngine Password Manager Pro's REST API
Project description
pypmp
Python lib to interact with ManageEngine Password Manager Pro's REST API
Installation
pip install pypmp
Usage
from pypmp import PasswordManagerProClient
# Connect
pmp = PasswordManagerProClient("pmp.example.com", "REST_API_TOKEN", verify=True)
# Get all resources
pmp.get_resources()
# Get accounts
pmp.get_accounts(resource_id=resource_id)
# Get password
pmp.get_account_password(resource_id=resource_id, account_id=account_id)
# Shortcuts
# Get resource by name
pmp.get_resource_by_name(name="resource01")
# Get account by name
pmp.get_account_by_name(resource_name="resource01", account_name="Administrator")
# Get password
pmp.get_password(resource_name="resource01", account_name="Administrator")
API Documentation
https://www.manageengine.com/products/passwordmanagerpro/help/restapi.html
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pypmp-0.3.0.post1.tar.gz
(16.9 kB
view details)
Built Distribution
File details
Details for the file pypmp-0.3.0.post1.tar.gz
.
File metadata
- Download URL: pypmp-0.3.0.post1.tar.gz
- Upload date:
- Size: 16.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.6 CPython/3.9.5 Linux/5.8.0-1033-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b54007b25ec71c4cc164754185b40a7758aeb2fc345513e8c07e83c55593b3d4 |
|
MD5 | 975f5bfd7025a103e93356560dec4e92 |
|
BLAKE2b-256 | 8f4a2fafa936851fc7164f8d6e89911ad14292c6979914ce352575e259564f4a |
File details
Details for the file pypmp-0.3.0.post1-py3-none-any.whl
.
File metadata
- Download URL: pypmp-0.3.0.post1-py3-none-any.whl
- Upload date:
- Size: 17.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.6 CPython/3.9.5 Linux/5.8.0-1033-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e0a46c018fe9b071ca7ca86a19e0b5e8cefbfaddd0af1cdd7512d9d902ae587 |
|
MD5 | 5c66255fcf0337ff4ce13706360306ce |
|
BLAKE2b-256 | 0a0d26ae16751407c4ca61031b791567965bab7e0dda140fd450ef6edba35a4b |