keyring-pybridge
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. 🎉
Release files for keyring-pybridge 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| keyring_pybridge-0.4.0.tar.gz | 2.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| keyring_pybridge-0.4.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.5 kB
Release files / keyring_pybridge-0.4.0.tar.gz
| Download URL | keyring_pybridge-0.4.0.tar.gz |
|---|---|
| Size | 2.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
25c0640eb90c0687aee6f63e621e08bd42d7f312aefb160318ee3468c9649b9c
|
|
BLAKE2b-256 checksum How to use checksums |
f4c690bc4b1ad9232a793ccd59491e3a2c673082eaeadb2c1a96117caddfbbb6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|
Release files / keyring_pybridge-0.4.0-py3-none-any.whl
| Download URL | keyring_pybridge-0.4.0-py3-none-any.whl |
|---|---|
| Size | 3.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f08ba8c98caa3668839f7c362c366ca16a38a8989dbe3da270edfd227121c643
|
|
BLAKE2b-256 checksum How to use checksums |
79ff085e6496fc95b941ac730755b739996774062142072b9f01981e2357889f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|