Skip to main content
Version: 7.0

Python connector

Overview

Passwork Python Connector is a tool that simplifies integration of Passwork with company infrastructure for programmers and DevOps engineers. The connector allows quick and secure automation of working with passwords, vaults, and accesses without diving into low-level API interaction and cryptography details.

Main tasks and advantages

  • Simplifying integration: The connector eliminates the need to manually implement API handling, encryption, and sessions. All main operations are reduced to simple methods.
  • Client-side security: All client-side cryptography (encryption, decryption, working with the master key) is implemented inside the connector. Your secrets are always protected — even when working with an open API.
  • Session management: The connector allows saving and restoring sessions to avoid re-authentication on every script run.
  • Flexibility: For all API methods not covered by specific connector functions, a universal call method is implemented. It allows accessing any Passwork API endpoints while maintaining security and ease of use.

Requirements

  • Python 3.10+
  • requests>=2.31.0
  • python-dotenv>=1.0.0
  • cryptography>=42.0.0
  • pbkdf2>=1.3

Installation

You can install the package directly from Github:

pip install git+ssh://[email protected]:passwork-me/passwork-python.git

Or via HTTPS:

pip install git+https://github.com/passwork-me/passwork-python.git

Features

  • Client-side encryption with master password support;
  • Automatic token refresh;
  • Encrypted storage and restoration of sessions;
  • Multi-level encryption (PBKDF2, RSA, AES);
  • Handling attachments;
  • User and role management;
  • Vault management;
  • Password sharing via "incoming";
  • Support for custom fields;
  • Tagging system;