Skip to main content

Passwork Python Connector, CLI, and Docker

This repository contains the official Python connector, CLI utility, and Docker assets for integrating with the Passwork API. Use the Python connector for programmatic access and client‑side cryptography, the CLI for DevOps/CI tasks and direct API calls, and the Docker setup to run these tools in containerized environments.

Components

  • passwork_client/ — Python library for building programmatic integrations with Passwork. Provides client‑side cryptography (master key handling), session management, and convenient APIs for CRUD operations on Passwork objects (items, vaults, users, shortcuts, snapshots). Suitable for backend services, automation scripts, and custom tooling.
  • cli/ — passwork-cli, a command‑line tool for DevOps and SRE workflows to use Passwork as a secrets manager. Retrieve and inject secrets into environment variables or command parameters, search by tags/folders, work with custom fields, refresh tokens, and perform direct API calls. Designed for local use, servers, and ephemeral CI agents.
  • docker/ — Docker assets to run the CLI in containers for CI/CD (e.g., GitHub Actions, GitLab CI, Bitbucket Pipelines). Enables isolated runtime without local Python dependencies; includes a Dockerfile and example pipeline configuration for easy integration.

Documentation

Examples

Usage examples for both the Python connector and the CLI have been moved to a separate repository:

This examples repository demonstrates common scenarios such as retrieving secrets, searching by tags/folders, managing items and vaults, working with shortcuts and snapshots, session handling, and direct API calls.

Metadata

Release files for passwork-python 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for passwork-python 0.2.0
File Size Uploaded
passwork_python-0.2.0.tar.gz 26.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for passwork-python 0.2.0
File Interpreter ABI Platform
passwork_python-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 62.7 kB

Release files / passwork_python-0.2.0.tar.gz

Download URL passwork_python-0.2.0.tar.gz
Size 26.8 kB
Tags Source
SHA-256 checksum
How to use checksums
bca8e213d0eab89d80c6796078a96dcf941405cc9bab6f03a180d60afb179bc1
BLAKE2b-256 checksum
How to use checksums
26985d29490a15650bb979e8f721e42ce4b269d91c00d0bdb7d6fbb193b2ffaa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.17

Release files / passwork_python-0.2.0-py3-none-any.whl

Download URL passwork_python-0.2.0-py3-none-any.whl
Size 35.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
607cf105667906cc0c513c5e2b6d2475f34ddb89338f7ef8bd1bbbdcebc3631e
BLAKE2b-256 checksum
How to use checksums
bf319273d3d000fb43202ca370b35d4122166e7f980d6cbbc424f626b765b248
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.17

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.7

2 release files

0.1.6

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page