Skip to main content

Standalone, pip-installable credential resolver for credentialed agent skills (env -> OS keyring -> dotfile, with an optional encrypted-at-rest vault).

Project description

credbroker

A standalone, pip-installable credential resolver for credentialed agent skills. Resolves secrets in-process through three tiers — environment variable → OS keyring → a 0600 dotfile floor — and never lets a cleartext value cross a process boundary to the LLM.

Status: Phase 1 (RFC-0023). Developed in-tree at packages/credbroker/, installed via repo path (pip install -e ./packages/credbroker). PyPI publication is Phase 2 (deferred — see docs/backlog.md#credbroker-phase-2).

Install

pip install -e ./packages/credbroker            # stdlib-only core
pip install -e './packages/credbroker[crypto]'  # + encrypted-at-rest vault

The core has no third-party dependency. The [crypto] extra adds cryptography + argon2-cffi for an encrypted-at-rest vault at the floor tier; without it, resolution degrades to the keyring/plaintext-dotfile floor.

Use

from credbroker import load_credentials

# Keys are used verbatim; only the namespace is upper-cased to compose the
# env / dotfile name (here: JIRA_BASE_URL, JIRA_API_TOKEN). Use upper-case keys.
creds = load_credentials("jira", required_keys=["BASE_URL", "API_TOKEN"])

See docs/specs/credbroker/spec.md for the full contract and RFC-0023 for the rationale.

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

credbroker-0.1.0.tar.gz (25.6 kB view details)

Uploaded Source

Built Distribution

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

credbroker-0.1.0-py3-none-any.whl (27.0 kB view details)

Uploaded Python 3

File details

Details for the file credbroker-0.1.0.tar.gz.

File metadata

  • Download URL: credbroker-0.1.0.tar.gz
  • Upload date:
  • Size: 25.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for credbroker-0.1.0.tar.gz
Algorithm Hash digest
SHA256 86e363335a354c66a51aa4593bc6feddc6acf1800b32fc8b86ce8647b8ae1978
MD5 1ee11aa3fc9ef24b69a7768359554557
BLAKE2b-256 4411b312f93a73c7a5fa5ca430f95c7804cc79d202e40c8c4b5d90b1a1507aec

See more details on using hashes here.

Provenance

The following attestation bundles were made for credbroker-0.1.0.tar.gz:

Publisher: release-credbroker.yml on eugenelim/agent-ready-repo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file credbroker-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: credbroker-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 27.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for credbroker-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 be11d335531e7f64c88389d06526ae69860a21e1a1569b6f80ef6caf93294d7f
MD5 041320c2a828afeaa120c49d7fe6a853
BLAKE2b-256 1f0f08b6d74244a50b3b38cf5d38a1928d85ae4551ec344c1d83877b481bda66

See more details on using hashes here.

Provenance

The following attestation bundles were made for credbroker-0.1.0-py3-none-any.whl:

Publisher: release-credbroker.yml on eugenelim/agent-ready-repo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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