Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for keylocker, version 0.3.5
Filename, size File type Python version Upload date Hashes
Filename, size keylocker-0.3.5-py2.py3-none-any.whl (2.9 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes
Filename, size keylocker-0.3.5.tar.gz (2.6 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page