Skip to main content

No project description provided

Project description

keyring-pybridge

CI PyPI version

Usage

Install keyring-pybridge from pypi using pip install keyring-pybridge, or whatever alternative python package manager you prefer.

Then set environment variables to use the backend:

PYTHON_KEYRING_BACKEND=keyring_pybridge.PyBridgeKeyring

Finally, you have to point the backend to the secondary python executable that you want to connect to. The keyring package must be installed in that python executable's environment.

KEYRING_PROPERTY_PYTHON=/path/to/python

WSL

The most useful application of this backend is when you are using keyring in a WSL environment, and would like to connect it to the host machine's Windows Credential Manager.

On the host machine, you need to create a python environment and install keyring in it.

Then, in WSL, configure the environment variable KEYRING_PROPERTY_PYTHON to point to the python executable with keyring installed:

KEYRING_PROPERTY_PYTHON=C:\path\to\the\right\python.exe

Since this library calls the windows binary via a subprocess, this facilitates the context switch to windows that allows keyring to communicate with the Windows Credential Manager. 🎉

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

keyring_pybridge-0.4.0.tar.gz (2.5 kB view hashes)

Uploaded Source

Built Distribution

keyring_pybridge-0.4.0-py3-none-any.whl (3.0 kB view hashes)

Uploaded 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