Skip to main content

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


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 hashes)

Uploaded source

Built Distribution

pypmp-0.3.0.post1-py3-none-any.whl (17.1 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page