MCPcopy Index your code
hub / github.com/Tongsuo-Project/RustyVault

github.com/Tongsuo-Project/RustyVault @v0.3.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.3.1 ↗ · + Follow
1,715 symbols 6,266 edges 152 files 127 documented · 7%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

RustyVault

RustVault logo

Crates.io Version

Overview

RustyVault is a modern secret management system, written in Rust. RustyVault provides various features which support many scenarios including secure storage, cloud identity management, secret management, Kubernetes integration, PKI infrastructure, cryptographic computing, traditional key management, etc.

RustyVault can be deployed in either cloud or physical environments. Depending on different requirements, RustyVault may run as standalone application with a set of RESTful APIs provided, and it can also be used as a crate thus you can easily integrate it into your own Rust application.

The core cryptographic module which provides cryptography functionality to RustVault can be configurable, for instance it could be OpenSSL or Tongsuo project depending on the actual scenarios.

One of the goals of RustyVault is to replace Hashicorp Vault seamlessly if you are seeking for an OSI-approved open-source license and enterprise level features.

Feature

Part of the features provided by RustyVault are as follows:

  • Working Mode
  • standalone process w/HTTP APIs
  • Rust crate that can be easily integrated with other applications
  • Configurable underlying Cryptographic Module
  • OpenSSL library
  • Tongsuo library
  • native Rust crypto libraries
  • API
  • RESTful API, compatible with Hashicorp Vault
  • Authentication & Authorization
  • X.509 certificate
  • username/password
  • basic ACL
  • Secure Storage
  • on-disk
  • remote storage (etcd, etc)
  • Configuration
  • HCL compatible
  • PKI/CA Infrastructure
  • X.509 certificate signing: RSA/ECC/SM2
  • X.509 certificate revocation: OCSP, CRL
  • Key Management
  • symmetric key: create/rotate/store
  • public key: RSA/ECC/SM2
  • Cryptography Algorithm
  • encryption: AES, SM4
  • public Key:
    • Signature: RSA/ECDSA/EdDSA/SM2
    • Encryption: RSA/SM2
  • hash: SHA1/SHA2/SM3
  • PRNG
  • Cryptographic Computing
  • PHE: Paillier, EC-ElGamal
  • ZKP: Bulletproofs w/Twisted-ElGamal
  • Hardware Support
  • cryptography accelerator
  • TEE
  • Cluster & HA
  • support "active/active" mode
  • Logging & Audit
  • log to file

Design

Read the design document.

Extension points exported contracts — how you extend this code

Core symbols most depended-on inside this repo

Shape

Method 944
Function 520
Class 206
Enum 25
Interface 20

Languages

Rust100%
TypeScript1%

Modules by API surface

src/modules/credential/approle/path_role.rs110 symbols
src/modules/auth/expiration.rs61 symbols
src/test_utils.rs56 symbols
src/core.rs43 symbols
src/modules/auth/token_store.rs40 symbols
src/modules/policy/acl.rs38 symbols
src/modules/credential/cert/mod.rs38 symbols
src/shamir.rs37 symbols
src/modules/system/mod.rs36 symbols
src/utils/mod.rs35 symbols
src/utils/crypto.rs33 symbols
src/mount.rs32 symbols

Datastores touched

(mysql)Database · 1 repos
localdbDatabase · 1 repos
mydbDatabase · 1 repos
vaultDatabase · 1 repos
my-db_123Database · 1 repos
mydbDatabase · 1 repos
production_dbDatabase · 1 repos

For agents

$ claude mcp add RustyVault \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page