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
WasiVaultViewtrait for the store context.
Structs§
- Locker
Proxy - Represents a locker resource in the WASI Vault.
- Vault
Default - Default implementation for
wasi:vault. - Wasi
Vault - Host-side service for
wasi:vault. - Wasi
Vault CtxView - View into
WasiVaultCtximplementation andResourceTable.
Traits§
- Locker
- Providers implement the
Lockertrait to allow the host to interact with different backend lockers (stores). - Wasi
Vault Ctx - A trait which provides internal WASI Vault context.
- Wasi
Vault View - A trait which provides internal WASI Vault state.
Type Aliases§
- Future
Result - Result type for asynchronous operations.
- Result
- Result type for vault operations.