Skip to main content

Module vault

Module vault 

Source
Expand description

§OS-Native Secure Vault

This module provides an abstraction over the system’s native secure storage via the keyring crate: macOS Keychain, Windows Credential Manager, and on Linux the kernel keyring (keyutils) as a cache in front of the Secret Service, which persists across reboots.

It also includes an in-memory backend for headless or testing environments.

Structs§

CredentialMeta
What the stored credentials were issued for.
Vault
A secure storage abstraction for tokens and keys.

Functions§

service_name_for
The keychain service name for a remote MCP server.