Skip to main content

Module vault

Module vault 

Source

Structs§

EncryptedVault
Full vault structure (what gets persisted as JSON).
Vault
VaultMetadata
Encrypted vault metadata (stored alongside the encrypted data).
VaultState
Decrypted vault state (in-memory only).

Enums§

VaultError

Functions§

default_vault_path
Return the default vault file path: <data_dir>/hyper-agent/vault.json.
load_vault_from_file
Load an EncryptedVault from the default file location.
load_vault_from_keychain
Load the encrypted vault from the OS keychain (fallback).
save_vault_to_file
Persist an EncryptedVault to the default file location.
save_vault_to_keychain
Store the encrypted vault JSON as a single keychain entry (fallback).