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
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.2.tar.gz
(2.3 kB
view hashes)
Built Distribution
Close
Hashes for keylocker-0.2.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 22100ec594bd2220399b8a3a845395fb64554d4459253ed7400eb17ef976a3be |
|
MD5 | d24e238f4c29a0003a8569925b4e83cd |
|
BLAKE2b-256 | 0164dad5495a10e6a154ad0b9dc5ca56433b4bc8703c8ad2b45ffdcc3be7208b |