vta-sdk
SDK for Verifiable Trust Agents operating in Verifiable Trust Communities. Part of the First Person Network project.
Overview
vta-sdk provides the types, HTTP/DIDComm client, session management, and
protocol constants needed to interact with a VTA service:
- Types -- shared data models for keys, contexts, ACL entries, sessions, and audit records.
- HTTP client -- typed REST client for all VTA endpoints (requires
clientfeature). - DIDComm -- DIDComm v2 message construction and secrets resolution
(requires
didcommfeature). - Session management -- credential import, challenge-response auth, and
automatic token refresh (requires
sessionfeature).
Feature Flags
| Feature | Default | Description |
|---|---|---|
client |
No | VTA HTTP client (reqwest-based) |
didcomm |
No | DIDComm v2 message support |
session |
No | Full session management (implies client + didcomm) |
keyring |
No | OS keyring session storage |
config-session |
No | File-based session storage |
azure-secrets |
No | Azure Key Vault secrets resolver |
Usage
Add to your Cargo.toml:
[]
# Types only (no network)
= "0.2"
# Full client with session management
= { = "0.2", = ["session", "keyring"] }
License
Apache-2.0