Skip to main content

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.

Source Distribution

keylocker-0.3.0.tar.gz (2.5 kB view hashes)

Uploaded Source

Built Distribution

keylocker-0.3.0-py2.py3-none-any.whl (3.0 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page