No project description provided
Project description
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. 🎉
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
Built Distribution
File details
Details for the file keyring_pybridge-0.3.0.tar.gz
.
File metadata
- Download URL: keyring_pybridge-0.3.0.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 67d9d7f67194b3857d57bef3cb66b8d118cdfcbb3bfbedd44be695aac2d8ee0e |
|
MD5 | c8537cb44b3d5099c942571712d5289b |
|
BLAKE2b-256 | f45ad138868c50f98e13af7b9ce729071a7f23333ed4c69d85d1f7c5e5f05436 |
File details
Details for the file keyring_pybridge-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: keyring_pybridge-0.3.0-py3-none-any.whl
- Upload date:
- Size: 2.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f5a72106c9a2b1f692450fe2835e7098e1832e6f579c654cd047283eebf1480 |
|
MD5 | 5968fbd37e0a2b48657e80461ea902c2 |
|
BLAKE2b-256 | 001d791f73edf221840a8b5a0893545f710b08b295e4e0ac0e166ccb0d286ee4 |