A Python library for securely retrieving API keys from 1Password
Project description
Locksys
Locksys is a Python library by Lifsys, Inc. for securely retrieving API keys from 1Password vaults using the 1Password Connect SDK.
Installation
You can install Locksys using pip:
pip install locksys
Usage
Here's a quick example of how to use Locksys:
from locksys import Locksys
# Initialize Locksys with a vault name (default is "API")
lock = Locksys("MyVault")
# Retrieve an API key
api_key = lock.item("MyItem").key("API_KEY").results()
print(f"Retrieved API key: {api_key}")
Features
- Secure retrieval of API keys from 1Password vaults
- Caching of 1Password client for improved performance
- Simple and intuitive API
Requirements
- Python 3.6+
- 1Password Connect SDK
License
This project is licensed under the MIT License - see the LICENSE file for details.
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Support
If you encounter any problems or have any questions, please open an issue on the GitHub repository.
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
locksys-0.1.0.tar.gz
(3.3 kB
view details)
Built Distribution
File details
Details for the file locksys-0.1.0.tar.gz
.
File metadata
- Download URL: locksys-0.1.0.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad7005ebcf4049ac1d6904112d5d88ad8e8c55fb13fd884d7792d95cc7db5a03 |
|
MD5 | 148c0ea4ca7aa1c180ffb5e9c6d9b9e4 |
|
BLAKE2b-256 | 8390f5ecc3df994348c80c4ce6b2825924d9b29bb68562e10e500583421b8278 |
File details
Details for the file locksys-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: locksys-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 472a68205a16c0be4e2762cd6bb8eb69c0de7f0893605c86ff397f9e2013fbe4 |
|
MD5 | 6becd6c9c0bd56a02c2734b6d0f6775b |
|
BLAKE2b-256 | 72c696c91fa935cc824d40422b8c9bac538bdcf7e9810aa1b4cc7f747e8baa17 |