{"id":37231684,"url":"https://github.com/blackwell-systems/vaultmux-rs","last_synced_at":"2026-01-15T03:45:24.353Z","repository":{"id":332418038,"uuid":"1130278018","full_name":"blackwell-systems/vaultmux-rs","owner":"blackwell-systems","description":"Unified async Rust interface for password managers and cloud vaults - write once, support pass, Bitwarden, 1Password, AWS Secrets Manager, GCP Secret Manager, Azure Key Vault, Windows Credential Manager","archived":false,"fork":false,"pushed_at":"2026-01-09T19:24:50.000Z","size":227,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-13T20:54:24.839Z","etag":null,"topics":["async","authentication","aws-secrets-manager","azure-key-vault","bitwarden","cross-platform","onepassword","password-manager","rust","secrets-management","security","tokio","vault"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/blackwell-systems.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-01-08T09:26:58.000Z","updated_at":"2026-01-09T19:24:54.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/blackwell-systems/vaultmux-rs","commit_stats":null,"previous_names":["blackwell-systems/vaultmux-rs"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/blackwell-systems/vaultmux-rs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blackwell-systems%2Fvaultmux-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blackwell-systems%2Fvaultmux-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blackwell-systems%2Fvaultmux-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blackwell-systems%2Fvaultmux-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/blackwell-systems","download_url":"https://codeload.github.com/blackwell-systems/vaultmux-rs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blackwell-systems%2Fvaultmux-rs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28442342,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-15T00:55:22.719Z","status":"online","status_checked_at":"2026-01-15T02:00:08.019Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["async","authentication","aws-secrets-manager","azure-key-vault","bitwarden","cross-platform","onepassword","password-manager","rust","secrets-management","security","tokio","vault"],"created_at":"2026-01-15T03:45:23.658Z","updated_at":"2026-01-15T03:45:24.345Z","avatar_url":"https://github.com/blackwell-systems.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Vaultmux\n\n\u003e **Write once, run anywhere - unified secret management for Rust**\n\n[![Blackwell Systems™](https://raw.githubusercontent.com/blackwell-systems/blackwell-docs-theme/main/badge-trademark.svg)](https://github.com/blackwell-systems)\n[![License](https://img.shields.io/badge/license-MIT%20OR%20Apache--2.0-blue.svg)](LICENSE-MIT)\n[![Rust Version](https://img.shields.io/badge/rust-1.88+-blue.svg)](https://www.rust-lang.org/)\n\nOne async interface for 8 secret backends. Switch from pass to AWS Secrets Manager without changing your code.\n\n```rust\nlet config = Config::new(BackendType::Pass).with_prefix(\"myapp\");\nlet mut backend = factory::new_backend(config)?;\n```\n\nChange one line, support any vault.\n\n## Why\n\nYour application needs secrets. But which vault?\n\n- **Developers** want pass or Bitwarden\n- **CI/CD** needs cloud vaults (AWS, GCP, Azure)\n- **Windows servers** need Credential Manager\n- **Tests** need a mock\n\nWithout vaultmux, you write 8 different integrations. With vaultmux, you write one.\n\nRust port of the [Go vaultmux library](https://github.com/blackwell-systems/vaultmux).\n\n## Features\n\n- **Unified API** - Single `Backend` trait works with any vault\n- **Async/Await** - Built on tokio for non-blocking I/O\n- **Type Safety** - Leverage Rust's type system for compile-time guarantees\n- **Session Caching** - Avoid repeated authentication with disk-based caching\n- **Error Context** - Rich error types with full context and chaining\n- **Feature Flags** - Optional backend compilation to minimize dependencies\n- **Testable** - Includes mock backend for unit testing\n\n## Supported Backends\n\n| Backend | Feature Flag | CLI Required | Platform | Status |\n|---------|-------------|--------------|----------|--------|\n| **Mock** | `mock` (default) | None | All | Implemented |\n| **pass** | `pass` | `pass`, `gpg` | Unix | Implemented |\n| **Bitwarden** | `bitwarden` | `bw` | All | Implemented |\n| **1Password** | `onepassword` | `op` | All | Implemented |\n| **AWS Secrets Manager** | `aws` | None (SDK) | All | Implemented |\n| **GCP Secret Manager** | `gcp` | None (SDK) | All | Implemented |\n| **Azure Key Vault** | `azure` | None (SDK) | All | Implemented |\n| **Windows Credential Manager** | `wincred` | PowerShell | Windows | Implemented |\n\n## Installation\n\n```toml\n[dependencies]\nvaultmux = { version = \"0.1\", features = [\"bitwarden\", \"aws\"] }\n```\n\nAvailable features: `mock`, `pass`, `bitwarden`, `onepassword`, `aws`, `gcp`, `azure`, `wincred`, or `full` for all backends.\n\n## Quick Start\n\n```rust\nuse vaultmux::{factory, Backend, Config, BackendType};\n\n#[tokio::main]\nasync fn main() -\u003e vaultmux::Result\u003c()\u003e {\n    // Create backend\n    let config = Config::new(BackendType::Pass)\n        .with_prefix(\"myapp\");\n\n    let mut backend = factory::new_backend(config)?;\n    backend.init().await?;\n\n    // Authenticate\n    let session = backend.authenticate().await?;\n\n    // Store a secret\n    backend.create_item(\"api-key\", \"secret-value\", \u0026*session).await?;\n\n    // Retrieve it\n    let secret = backend.get_notes(\"api-key\", \u0026*session).await?;\n    println!(\"Secret: {}\", secret);\n\n    Ok(())\n}\n```\n\n## Testing\n\nUse the mock backend to test without real vaults:\n\n```rust\nuse vaultmux::backends::mock::MockBackend;\n\n#[tokio::test]\nasync fn test_my_code() {\n    let mut backend = MockBackend::new();\n    backend.set_item(\"test-key\", \"test-value\").await;\n    // Test your code...\n}\n```\n\nRun tests: `cargo test --all-features`\n\nSee [User Guide](docs/user-guide.md#testing) for integration testing with LocalStack.\n\n## Documentation\n\n- **[User Guide](docs/user-guide.md)** - Setup, patterns, best practices\n- **[API Reference](docs/api-reference.md)** - Complete API documentation\n- **[Examples](examples/)** - Real-world usage patterns\n\nOr generate docs locally:\n```bash\ncargo doc --open\n```\n\n## Comparison to Go Version\n\n| Feature | Go | Rust |\n|---------|-----|------|\n| **Type Safety** | Runtime | Compile-time |\n| **Memory Safety** | GC | Ownership system |\n| **Concurrency** | Goroutines | async/await + tokio |\n| **Error Handling** | `(T, error)` | `Result\u003cT, E\u003e` |\n| **Dependencies** | Modules | Crates + features |\n\n## Contributing\n\nContributions welcome! Current priorities:\n\n1. Add integration tests for all backends\n2. Create comprehensive usage examples\n3. Improve documentation and API docs\n4. Set up CI/CD pipeline\n5. Add performance benchmarks\n\n## License\n\nLicensed under either of:\n\n- Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)\n- MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)\n\nat your option.\n\n## Credits\n\nRust port by Dayna Blackwell (Blackwell Systems™).  \nOriginal Go implementation: https://github.com/blackwell-systems/vaultmux\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblackwell-systems%2Fvaultmux-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblackwell-systems%2Fvaultmux-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblackwell-systems%2Fvaultmux-rs/lists"}