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.

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

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


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 details)

Uploaded Source

Built Distribution

onepassword_keyring-0.1.1-py2.py3-none-any.whl (4.6 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file onepassword-keyring-0.1.1.tar.gz.

File metadata

  • Download URL: onepassword-keyring-0.1.1.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for onepassword-keyring-0.1.1.tar.gz
Algorithm Hash digest
SHA256 38999a38d646e77b841623dc219f36144284817fc69b7f2b771144dc4fd46108
MD5 66b2e509a0d3330d04080d72e94c2d57
BLAKE2b-256 d3e579aee1c8e74bd662025ca9e0f397f6e5331f3b5f6a80aa50d87d6474ecd1

See more details on using hashes here.

File details

Details for the file onepassword_keyring-0.1.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for onepassword_keyring-0.1.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 2a551eab4152465b55c07cf52dfae22eeefe9ecad954388e2111e546cbf04fb5
MD5 1ef9d14eef328288872819216922704a
BLAKE2b-256 9a1b115066a511ec3f19879e5fa57177ad735af6373a38b6cab8ca06b0d7c14a

See more details on using hashes here.

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