Python library for Passbolt, an open-source manager for teams
Project description
py-passbolt
Python library for Passbolt API based on httpx and PGPy
How to use
Create a config.json:
{
"base_url": "https://passbolt.domain.tld",
"private_key": "-----BEGIN PGP PRIVATE KEY BLOCK-----\r\n\r\n See below about how to convert your private key in one-line mode -----END PGP PRIVATE KEY BLOCK-----\r",
"passphrase": "a-strong-passphrase"
}
or use environment variables (PASSBOLT_BASEURL, PASSBOLT_PRIVATE_KEY, PASSBOLT_PASSPHRASE).
Then have a look at example.py python script
How to set OpenPGP key in config.json or environment variables
Linux:
sed -z 's/\n/\\n/g' private.asc
MacOS
Install gnu-sed with brew:
$ brew install gnu-sed
Use gsed instead of sed:
gsed -z 's/\n/\\n/g' private.asc
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
py-passbolt-0.0.2.tar.gz
(3.9 kB
view details)
File details
Details for the file py-passbolt-0.0.2.tar.gz.
File metadata
- Download URL: py-passbolt-0.0.2.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/1.5.0 colorama/0.4.4 CPython/3.9.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6f1e62225d0561cc140cee2ff1789668cc1954d3ff6e37a462a5d1924821baae
|
|
| MD5 |
be0993516370302c3b422859ccdc5e9e
|
|
| BLAKE2b-256 |
856e11166999967936cfaa0bf90b39997a7c7ffbc9ca1101a41e180a7f3d4639
|