Skip to content

vault

@tynd/plugin-vault enables the host vault API and exposes its typed client. The API itself is documented on the vault page.

Terminal window
tynd add vault
import { vault } from "@tynd/plugin-vault/client";

Declaring the plugin compiles the matching api-vault Cargo feature into the app host on the next tynd dev or tynd build. Or by hand: bun add @tynd/plugin-vault and list it in plugins in tynd.config.ts.

Package @tynd/plugin-vault
Kind Host-backed official plugin (facade over a host API)
Host API vault
Aliases for tynd add secure-store, encrypted-store
Catalog permission labels host:vault, local-storage
Estimated size 220 KB
Client exports VaultReadResult, VaultWriteData, vault