Library with the CLI to save the encrypted secrets in the configuration file, but a transparent read and write the new settings in the app.
Project description
Keylocker CLI
Library with the CLI to save the encrypted secrets in the configuration file, but a transparent read and write the new settings in the app.
Simple usage in CLI:
keylocker init
keylocker list
keylocker read <keyname>
keylocker remove <keyname>
keylocker write <keyname> <value>
Simple usage in code:
from keylocker import Storage
secrets = Storage()
print(secrets['test'])
Simple usage in bash:
PYPIPASS="$(keylocker read pypi_password)"
PYPIUSER="$(keylocker read pypi_user)"
poetry publish --username "${PYPIUSER}" --password "${PYPIPASS}" --build
Source Code:
Travis CI Deploys:
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
keylocker-0.3.5.tar.gz
(2.6 kB
view details)
Built Distribution
File details
Details for the file keylocker-0.3.5.tar.gz
.
File metadata
- Download URL: keylocker-0.3.5.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/0.12.16 CPython/3.7.2 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 50bea630d45e72623ada6da551f167968f32666f68875fea6ef44ca66ee64bda |
|
MD5 | 857ff2619882ec829121ac42980d1983 |
|
BLAKE2b-256 | 3b10a74429f4b07a050c1e0160ccc93db9f278b7aec0f845ccd24ef02fdfd626 |
File details
Details for the file keylocker-0.3.5-py2.py3-none-any.whl
.
File metadata
- Download URL: keylocker-0.3.5-py2.py3-none-any.whl
- Upload date:
- Size: 2.9 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/0.12.16 CPython/3.7.2 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3969900267adff929621f484176aa0207342b9da3e9e63bc311187200212bb2d |
|
MD5 | fc35c88cc81d6e17f26ea8f713756274 |
|
BLAKE2b-256 | e1941c274bdbea51fdecd67eba13391a1dec2eadd56dc96a5c7c63b634f588ba |