Skip to content

jamiemayer/PyBolt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyBolt Client


Small lightweight library intended to be used for getting and decrypting passwords from a passbolt server.

Installation

To install from PyPi:

pip install pybolt-client

Usage

The library uses one class names Client.

Positional Arguments

  • url - The url of the passbolt server you wish to connect to.

Keyword Arguments

  • gpg_path - The path to the users gpg home directory. This will default to ~/.gnupg/.
  • private_key_path - The path the the users private GPG key. Defaults to ~/.gnupg/private.key.

Retrieving a password.

Password retrieval is relatively simple. First we need to instantiate an instance of Client and then call the get_password_by_name method, passing it the name of the password as set in passbolt.

Example:

from passbolt_client import Client

client = Client("https://passbolt.example.com")

print(client.get_password_by_name("Rees-Mogg's Onlyfans"))

About

A Passbolt REST API Client in python.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages