OpenAgentID documentation
Source referencesRust module referencearsenal-store

arsenal-store · encrypted_file

Declared module signatures, types, configuration, and source documentation.

Source: arsenal/crates/arsenal-store/src/encrypted_file.rs. SHA-256: 7f84dce81d01e01ff29bd839b8362ee2194ad47c3fa27557dc45e5ad7c9a09eb.

This source reference follows declared modules and preserves feature attributes. It includes public declarations and implementation methods in those modules. Private-module exports and trait resolution still require the compiler; not every declaration is a crate-root import. Function bodies and constant values are omitted. Source comments describe their implementation context and are not a production deployment claim.

encrypted_file::EncryptedFileStore

Encrypted file-based secret store

pub struct EncryptedFileStore {

}

Source line: 27.

encrypted_file::EncryptedFileStore::new

Create a new encrypted file store

Errors

Returns an error if the directory cannot be created

pub async fn new(
        base_dir: impl AsRef<Path>,
        key_wrapper: Arc<dyn KeyWrapper>,
    ) -> SecretStoreResult<Self>;

Source line: 61.

encrypted_file::EncryptedFileStore::without_cache

Disable caching (useful for testing)

#[must_use]
pub fn without_cache(mut self) -> Self;

Source line: 82.

encrypted_file::EncryptedFileStore::load_cache

Load metadata cache from disk

Errors

Returns an error if reading from disk fails

pub async fn load_cache(&self, tenant_id: &TenantId) -> SecretStoreResult<()>;

Source line: 225.

On this page