Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hestia_keyring-1.0.0a3-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file hestia_keyring-1.0.0a3-py3-none-any.whl.

File metadata

  • Download URL: hestia_keyring-1.0.0a3-py3-none-any.whl
  • Upload date:
  • Size: 4.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.22 {"installer":{"name":"uv","version":"0.11.22","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

Hashes for hestia_keyring-1.0.0a3-py3-none-any.whl
Algorithm Hash digest
SHA256 a7aadcac97efca9517062073b31906662a74b352891014c53683254431e4d13c
MD5 c95ba6cca409c978c37a96b6d8074530
BLAKE2b-256 7dcd6b3adcba92276e068a11c7915c4b4e30223745cc2dac47efaa0c5ea5934c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page