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.linux-x86_64.tar.gz (8.7 kB view details)

Uploaded Source

File details

Details for the file pypmp-0.3.linux-x86_64.tar.gz.

File metadata

  • Download URL: pypmp-0.3.linux-x86_64.tar.gz
  • Upload date:
  • Size: 8.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.6.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1

File hashes

Hashes for pypmp-0.3.linux-x86_64.tar.gz
Algorithm Hash digest
SHA256 90fe07780f120e91084a1b9c9096601ad01e42b41d22f4b0fb6a1eea7c329a21
MD5 e52a7a338fb40107a4523ab4f4e05dea
BLAKE2b-256 2364ce8ed626b49e3b67980be6e1c414be8174f5ae279ff14faca0de268172a8

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