Skip to main content
Version: 7.0

Integration examples

Repository with examples

All examples of working with Passwork integration tools are collected in a separate repository on GitHub. The repository contains ready-to-use code examples demonstrating various Passwork integration scenarios.

Installation

Before using the examples, you need to install the corresponding tools:

In repository

Examples for Python connector

In the python section, you will find ready-to-use scripts and code snippets demonstrating:

  • Basic operations: authorization, working with sessions;
  • Vault management: creating, retrieving, updating, and deleting vaults;
  • Working with items: creating, reading, updating, and deleting items with data;
  • Folder management: creating folder structures, moving items;
  • User management: managing users, groups, and access rights;
  • Attachment handling: uploading and retrieving files attached to items;
  • Automation: example scripts for automating routine tasks.

Examples for CLI utility

The cli section presents practical examples of using CLI in various modes:

  • exec mode: integration into scripts and commands with automatic substitution of passwords from items and shortcuts into environment variables;
  • get mode: retrieving data from items and shortcuts for use in scripts;
  • update mode: updating items and shortcuts via command line;
  • api mode: direct API method calls via CLI;
  • CI/CD integration: examples of use in continuous integration and deployment pipelines;
  • Docker: examples of using CLI in containers.

The repository is constantly updated with new examples and kept up to date in accordance with updates to the Passwork API and tools.

Share your examples

If you have Passwork integration examples that you would like to share with the community, we would be happy to accept a pull request to the passwork-integration-examples repository.

We will add a link to the example author so other users can learn about your contribution to the Passwork ecosystem.