REQSCOPEMINTACT
All libraries

Agent Key Management & Credential Proxy

Arsenal

Agent-native API key management with short-lived, scoped Agent Capability Tokens (ACTs). Minimizes blast radius through proof-of-possession binding, cryptographically-linked audit trails, and least-privilege scoping.

Lines of code

58.4K

Crates

6

Languages

Rust

Primitives

6

§ 01
Capabilities
01

Agent Capability Token (ACT) framework

02

Short-lived tokens (30s to 10min TTL)

03

Proof-of-possession binding

04

mTLS-required broker communication

05

Encrypted secret storage

06

Hash-chained audit logging

§ 02
6 crates

Inside Arsenal.

Every crate in the Arsenal workspace, what it does, and how it fits together.

01

arsenal-core

8.2K LOC

ACT token format, scope model (service:resource:action), and token lifecycle. Defines the CapabilityToken type with all constraint fields.

02

arsenal-crypto

6.1K LOC

Ed25519 + X25519 key operations, XChaCha20-Poly1305 encryption, HKDF key derivation, and constant-time token comparison.

03

arsenal-store

9.4K LOC

Encrypted secret storage with in-memory, file, and database backends. All secrets encrypted with XChaCha20-Poly1305.

04

arsenal-policy

7.8K LOC

Declarative policy engine with CBOR serialization. 6 constraint types: device, session, origin, network, time window, environment.

05

arsenal-broker

12.3K LOC

mTLS-required broker gateway. Validates proof-of-possession, enforces scope narrowing, and manages secret injection.

06

arsenal-sdk

5.6K LOC

Client SDK for requesting and managing ACTs. Handles token refresh, scope negotiation, and audit log submission.

§ 03
Surface

Cryptography

01Ed25519
02X25519
03XChaCha20-Poly1305
04HKDF-SHA256
05BLAKE3
06Argon2id

Available in

Rust

Install

install · arsenalRust
$cargo add arsenal-sdk

Start building with Arsenal.

Read the documentation or explore the source.