Skip to main content

Python client for Passwork 7 API

Project description

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.

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

passwork_python-0.2.0.tar.gz (26.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

passwork_python-0.2.0-py3-none-any.whl (35.9 kB view details)

Uploaded Python 3

File details

Details for the file passwork_python-0.2.0.tar.gz.

File metadata

  • Download URL: passwork_python-0.2.0.tar.gz
  • Upload date:
  • Size: 26.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.17

File hashes

Hashes for passwork_python-0.2.0.tar.gz
Algorithm Hash digest
SHA256 bca8e213d0eab89d80c6796078a96dcf941405cc9bab6f03a180d60afb179bc1
MD5 d437bfcc0038aacffa232414a9bdfaf6
BLAKE2b-256 26985d29490a15650bb979e8f721e42ce4b269d91c00d0bdb7d6fbb193b2ffaa

See more details on using hashes here.

File details

Details for the file passwork_python-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for passwork_python-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 607cf105667906cc0c513c5e2b6d2475f34ddb89338f7ef8bd1bbbdcebc3631e
MD5 6db5903a6db7b3fad99f364d4993600a
BLAKE2b-256 bf319273d3d000fb43202ca370b35d4122166e7f980d6cbbc424f626b765b248

See more details on using hashes here.

Supported by

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