Keyring backend reading password data from 1Password
Project description
OnePassword Keyring
Implementation of the Keyring backend code reading secrets from 1Password using 1password-cli.
Overview
The Keyring python package provides a handy single point of entry for any secret holding system.
This projects allows Keyring to read secrets from 1Password, a multiplatform cloud password manager. It is based on and forked from bitwarden-keyring by ewjoachim.
This backend assumes that it will be used in the context of a CLI application, and that it can communicate with the user using sdtin
, stdout
and stderr
.
Requirements
This project uses the official 1Password CLI. You will need to install it and configure it before using this backend.
Installation and configuration
pip install onepassword-keyring
Usage
Use as a normal keyring backend. It is installed with priority 10 so it's likely going to be selected first.
onepassword-keyring
will automatically ask for credentials when needed.
Caveats
This fork was made for personal use and is not guaranteed to work in all cases. Please use with caution, as I can't take responsibility for any issues that may arise from using this package.
onepassword-keyring
was only tested with:
- macOS, using the
1password-cli
frombrew
As mentioned, onepassword-keyring
only works in the context of a CLI application with access to standard inputs and output.
Licensing
onepassword-keyring
is published under the terms of the MIT License.
Acknowledgment
This package is forked from and heavily based on bitwarden-keyring by ewjoachim
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
Built Distribution
Hashes for onepassword-keyring-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3e4249ad24be73e91425ab59a6b15d99e2f6f73b684f49d61f5f6e369528b816 |
|
MD5 | e020d579393811eb4a1a129454302787 |
|
BLAKE2b-256 | 06541a252d9a4c05541fb46507eb1e005c6c8fd95045cb6e44d31a3f90b69e6b |
Hashes for onepassword_keyring-0.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | be97fbcc5aa7352488fb518368ced4f34fb0eef7e5fe25cb297677fee6fd48f1 |
|
MD5 | 01dd3a7855a1833a18261297eeb136cb |
|
BLAKE2b-256 | 328bbab99b7eb69eb7d831c35b4dabb63da1215b75ce7173a819f4d4571ae11d |