Skip to main content

Keyring backend reading password data from 1Password

Project description

OnePassword Keyring

Implementation of the Keyring backend code reading secrets from 1Password using 1password-cli.


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.


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


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.


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 from brew

As mentioned, onepassword-keyring only works in the context of a CLI application with access to standard inputs and output.


onepassword-keyring is published under the terms of the MIT License.


This package is forked from and heavily based on bitwarden-keyring by ewjoachim

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

onepassword-keyring-0.1.1.tar.gz (4.9 kB view hashes)

Uploaded Source

Built Distribution

onepassword_keyring-0.1.1-py2.py3-none-any.whl (4.6 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