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/hmc-heerema/HES%20Internal/_packaging/HES/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 Distribution

hestia_keyring-1.0.0.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

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

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

Uploaded Python 3

File details

Details for the file hestia_keyring-1.0.0.tar.gz.

File metadata

  • Download URL: hestia_keyring-1.0.0.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.20 {"installer":{"name":"uv","version":"0.11.20","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for hestia_keyring-1.0.0.tar.gz
Algorithm Hash digest
SHA256 a3deaadb7032f4b3834a7c76a7b22a8137f752e979dd4d6ba47094ec37363767
MD5 0f761a103e8d7dc8a5ea8da8f682336a
BLAKE2b-256 1c4c057ae3e827e5436a24dbf075477d94074399a373befec50deec0f949accb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hestia_keyring-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 2.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.20 {"installer":{"name":"uv","version":"0.11.20","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for hestia_keyring-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d47d793d2358e7d0d6c5e016a049f1175f9d49ac77b3a5722253ed84ca0b7efc
MD5 2d22a4c551d99da4a5062158984fa48d
BLAKE2b-256 88d4673e3cee87c9186bf39836ca20b6e761336c6269f00dfa06cdce35a2786a

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