Skip to main content

Python SDK and CLI for the Warden AI-agent authorization control plane

Project description

Vouchins Warden Python SDK

Dependency-free Python 3.11+ client and CLI for the Warden agent authorization control plane.

pip install vouchins-warden
from vouchins_warden import WardenClient

warden = WardenClient(
    "https://warden.example.com",
    access_token=workload_oidc_token,
)

result = warden.execute(
    capability_token=capability,
    runtime_proof=runtime_proof,
    task_id=task_id,
    connector_id="github-issues",
    action="issues.create",
    resource="repo://acme/app",
    environment="prod",
    grant_id=grant_id,
    parameters={"title": "Investigate production alert"},
)

The CLI reads credentials only from environment variables:

export WARDEN_URL=https://warden.example.com
export WARDEN_ACCESS_TOKEN='<workload OIDC token>'
warden health
warden integrations --query GitHub
warden audit-verify
warden execute --file action-request.json

WARDEN_ADMIN_KEY is supported only for local break-glass development. Never place capability tokens, runtime proofs, provider credentials, or access tokens in command-line arguments because process lists and shell histories can expose them.

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

vouchins_warden-0.1.0.tar.gz (7.3 kB view details)

Uploaded Source

Built Distribution

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

vouchins_warden-0.1.0-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for vouchins_warden-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c260f05f913e52c406d4ce147d4969d49fe80ba7da1fea8cb5b59c9688a6dbe5
MD5 773aa7e40d8ddef5d31058666cbe8e00
BLAKE2b-256 bcf9b944dfff5fd057b453c4febb06bf9001e4164aeb620d86e07e7e952a7c73

See more details on using hashes here.

Provenance

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

Publisher: python-sdk-release.yml on ishaiktaher/warden

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

File details

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

File metadata

File hashes

Hashes for vouchins_warden-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 62f76b6244095666780db76426a7c84f45b625a7eae1e017c341d30d74e661e1
MD5 fa79063824dc9d64bef9aff6f21cba74
BLAKE2b-256 4b8812aa85beec1eb6da700a0fe4aa8e12c609dd3bb7a16d8224f6dfc74becd8

See more details on using hashes here.

Provenance

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

Publisher: python-sdk-release.yml on ishaiktaher/warden

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