Skip to main content

Crate omnia_wasi_vault

Crate omnia_wasi_vault 

Source
Expand description

§Omnia WASI Vault

This crate provides the Secrets Vault interface for the Omnia runtime.

§Interface

Implements the wasi:vault WIT interface.

§Backend

  • Default: In-memory implementation. Secrets are not persisted.

§Usage

Add this crate to your Cargo.toml and use it in your runtime configuration:

use omnia::runtime;
use omnia_wasi_vault::VaultDefault;

omnia::runtime!({
    "vault": VaultDefault,
});

§License

MIT OR Apache-2.0

§WASI Vault Service

This module implements a runtime service for wasi:vault (https://github.com/augentic/wasi-vault).

Modules§

default_impl
Default in-memory implementation for wasi-vault

Macros§

omnia_wasi_view
Implementation of the WasiVaultView trait for the store context.

Structs§

LockerProxy
Represents a locker resource in the WASI Vault.
VaultDefault
Default implementation for wasi:vault.
WasiVault
Host-side service for wasi:vault.
WasiVaultCtxView
View into WasiVaultCtx implementation and ResourceTable.

Traits§

Locker
Providers implement the Locker trait to allow the host to interact with different backend lockers (stores).
WasiVaultCtx
A trait which provides internal WASI Vault context.
WasiVaultView
A trait which provides internal WASI Vault state.

Type Aliases§

FutureResult
Result type for asynchronous operations.
Result
Result type for vault operations.