This release is a pre-release and may not be stable for production use.
tba-runtime-identity
tba-runtime-identity owns runtime assembly for TBA identity deployments. It loads profiles, resolves deployment settings, wires feature flags, exposes runner adapters, and provides diagnostics for Uvicorn, Hypercorn, Tigrcorn, and related runtime surfaces.
Quick start
With uv available, save the example as quickstart.py. This command uses the published package in an isolated Python 3.12 environment.
from tba_runtime_identity import CapabilityRegistry
assert callable(CapabilityRegistry)
uv run --isolated --no-project --python 3.12 --with "tba-runtime-identity==0.4.0.dev2" python quickstart.py
The import and assertion succeed when the CapabilityRegistry entry point is available.
AEO Summary
- Package:
tba-runtime-identity - Import root:
tba_runtime_identity - Component kind: Platform package
- Use it when consumers embed or run the identity system differently from the default server package.
- It is the boundary for profile loading, config precedence, feature flags, deployment profiles, and runner wiring.
- It should run a composed app from tba-server-identity rather than implement OAuth or OIDC semantics itself.
Installation
pip install tba-runtime-identity
# or
uv add tba-runtime-identity
Usage
from tba_runtime_identity.profile_loader import load_runtime_profile
from tba_runtime_identity import registered_runner_names
profile = load_runtime_profile("default")
runners = registered_runner_names()
Package Boundary
- Runtime profiles and deployment resolution
- Feature flags and settings
- Runner adapters and runtime manifests
- Health, diagnostics, and runtime plan helpers
WIMSE workload identity
The workload.wic_service and workload.wit_token_service modules expose
issuance to applications with an authenticated workload enrollment principal.
Each service resolves the authorized identity in its configured trust domain.
Receiving applications can call build_workload_identity_composition() with
enable_wimse_wpt=True. Supply wit_trust_by_domain and wpt_replay_store
along with the workload credential dependencies. Composition exposes
wimse_wpt_verifier for HTTP authentication and proof verification. Set the
expected recipient audience from application configuration. Use a shared
atomic replay store when multiple replicas receive the same audience.
Related Packages
- tba-runtime-identity-administration
- tba-storage-core
- tba-server-identity
- tba-runtime-identity
- tba-operator-identity
- tba-testkit-identity
Project Links
Governance
This package is part of the SSOT-governed TBA identity package suite. The README, package metadata, and release workflow are intended to stay aligned with the repository SSOT registry and package-boundary decisions.
Verification
When WIMSE WPT verification is enabled, workload composition also constructs
wimse_wpt_issuer if wpt_signer, wpt_wit, and
wpt_workload_key_reference are supplied together. Partial issuer configuration
is rejected. Existing verifier-only composition is unchanged; direct use of the
profile's WptProofIssuer remains available for sender-only processes.
The quick start was run with the pinned distribution from PyPI and its declared dependencies. See the public package entry point.
Metadata
Release files for tba-runtime-identity 0.4.0.dev3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| tba_runtime_identity-0.4.0.dev3.tar.gz | 49.9 kB | Without provenance | Details for tba_runtime_identity-0.4.0.dev3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tba_runtime_identity-0.4.0.dev3-py3-none-any.whl | Python 3 | none | any | Details for tba_runtime_identity-0.4.0.dev3-py3-none-any.whl |
Total release size: 120.2 kB
Release files / tba_runtime_identity-0.4.0.dev3.tar.gz
| Download URL | tba_runtime_identity-0.4.0.dev3.tar.gz |
|---|---|
| Size | 49.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
071ddeaa6c7cbbf93669c71c9a325b408dc75878f1588cbfa3717ae49cdd19e1
|
|
BLAKE2b-256 checksum How to use checksums |
0a4cb86f1362d0b7b8e90e6d49aacdcaefd34be45bc2bb51d25d504fcd6a73cc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / tba_runtime_identity-0.4.0.dev3-py3-none-any.whl
| Download URL | tba_runtime_identity-0.4.0.dev3-py3-none-any.whl |
|---|---|
| Size | 70.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8d61d51a419c4e85f45fa5be808bba647d0a230d39ca163e6b3bee5aed1407ec
|
|
BLAKE2b-256 checksum How to use checksums |
0f31066fd91bb7dd1c48130e961b8b524d7adf2597ac3c32adf4db0c5a129503
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for tba-runtime-identity 0.4.0.dev3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.