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:
*https://github.com/vpuhoff/keylocker
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.2.4.tar.gz
(2.6 kB
view hashes)
Built Distribution
Close
Hashes for keylocker-0.2.4-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 817fabca017f10cc0e848c2eff9e0ab9fc955d7bec874aa00296fce3e947d00d |
|
MD5 | 248405804aa71f07ff9f8253145fbdee |
|
BLAKE2b-256 | b71c4e366080aea82f5e5885bae5d6b9a91149869f9b7ce1852957c047a6271e |