Keyring backend for HES Azure Artifacts — enables uv sync without PATs
Project description
hestia-keyring
A keyring backend that authenticates uv sync against
the HES Azure Artifacts feed using your active az CLI session — no Personal Access Tokens
required.
Install once per machine
uv tool install keyring --with hestia-keyring
What it does
When uv calls keyring get https://pkgs.dev.azure.com/... VssSessionToken, this backend
runs az account get-access-token --resource https://app.vssps.visualstudio.com and returns
the resulting bearer token. Your az login session is the only credential you need.
Requirements
- Python 3.13+
- Azure CLI installed and
signed in (
az login)
Consumer app configuration
Add to your app's pyproject.toml:
[[tool.uv.index]]
name = "hes-internal"
url = "https://VssSessionToken@pkgs.dev.azure.com/<org>/<project>/_packaging/<feed>/pypi/simple/"
default = false
explicit = true
[tool.uv.sources]
hestia = { index = "hes-internal" }
[tool.uv]
keyring-provider = "subprocess"
The VssSessionToken@ prefix in the URL is required — uv passes the URL username to
keyring get, and VssSessionToken is the username this backend recognises.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file hestia_keyring-1.0.1-py3-none-any.whl.
File metadata
- Download URL: hestia_keyring-1.0.1-py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.23 {"installer":{"name":"uv","version":"0.11.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e4b4a34996582b850ae4817797df9ec3d8e327ee7b141cf46661b395de2cd76c
|
|
| MD5 |
5584a3194c7d8eace0ba4f27af26d8fb
|
|
| BLAKE2b-256 |
0813487827f9d33502a9e31543d4f97cc66090b897816fb89f1cf93fe16efd34
|