Use secrets from pass in your BundleWrap repo.
Installation
pip install bundlewrap-pass
Setup
There's no setup needed. Please note bundlewrap-pass will override your
PASSWORD_STORE_DIR to the content of BW_PASS_DIR, which in turn will
default to ~/.password-store. Keep this in mind if you want to use
a custom path to your passwordstore repo.
usage
bundlewrap-pass will use the first line of pass output to get its
password attribute. You can also retrieve any other saved attributes,
as long as your pass entries conform to the format which browserpass uses:
my_super_secure_password
custom_attribute: foo
another_attr: bar
You can then retrieve those attributes using the attr method of
bundlewrap-pass.
Example nodes.py:
import bwpass
nodes = {
'somenode': {
'metadata': {
'my_secret': bwpass.password('my_identifier'),
'my_custom_attr': bwpass.attr('my_identifier', 'custom_attribute'),
},
},
}
Note: This will insert a proxy object into your metadata, the actual secret is not retrieved until you convert it to a string (e.g. by inserting it in a template or calling str() explicitly).
© 2021 Franziska Kunsmann
Metadata
Release files for bundlewrap-pass 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| bundlewrap-pass-1.0.2.tar.gz | 15.2 kB | Without provenance | Details for bundlewrap-pass-1.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| bundlewrap_pass-1.0.2-py3-none-any.whl | Python 3 | none | any | Details for bundlewrap_pass-1.0.2-py3-none-any.whl |
Total release size: 30.7 kB
Release files / bundlewrap-pass-1.0.2.tar.gz
| Download URL | bundlewrap-pass-1.0.2.tar.gz |
|---|---|
| Size | 15.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dca9944d3390e3a4e229736428b47078c11ee66ff327582f01526db4905dce29
|
|
BLAKE2b-256 checksum How to use checksums |
f16eaf63befadeceb01362cf4657fd3297e48a86dde9876c3f2df27f0e8b7cfd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5
|
Release files / bundlewrap_pass-1.0.2-py3-none-any.whl
| Download URL | bundlewrap_pass-1.0.2-py3-none-any.whl |
|---|---|
| Size | 15.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3dc02c4b42b91741af9b13a1fac4ce7fef815815fadb8c3b4cd2434594da5772
|
|
BLAKE2b-256 checksum How to use checksums |
e4b53089b963f9f257abd9217c3559c3655dedf781dda73bb42687381288b4a1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5
|
Security for bundlewrap-pass 1.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.