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.2.tar.gz (4.1 kB view details)

Uploaded Source

File details

Details for the file pypmp-0.2.tar.gz.

File metadata

  • Download URL: pypmp-0.2.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.6

File hashes

Hashes for pypmp-0.2.tar.gz
Algorithm Hash digest
SHA256 cfc9c25864195819658504d5261aef2777b999555f5ac809fe4325f0b8f5d48b
MD5 40a20d459f3f0ad980636b4e34f32ea7
BLAKE2b-256 bde32c15011beaac6177b423709f524260593abe23210f4db36648798adf900d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page