Skip to main content
In this guide you will build a fully working configuration setup for a Tauri v2 desktop app. You will define a typed schema that covers UI preferences and a nested settings object, persist it as a JSON file in the OS app-config directory, and protect a sensitive field in the native OS keyring — so it never touches disk in plain text. By the end you will know how to create, load, save, patch, and delete config entries using tauri-plugin-configurate.

Complete example

Here is the full end-to-end flow in a single TypeScript snippet you can drop straight into your Tauri frontend:

Next steps

Schema Definition

Learn every schema value type: primitives, nested objects, arrays, optional fields, and keyring markers.

Storage Providers

Compare JSON, YAML, TOML, and encrypted Binary providers and choose the right one for your app.

OS Keyring

Understand how secrets are stored and retrieved from the native OS keychain on Linux, Windows, and macOS.

CRUD Operations

Deep-dive into create, load, save, patch, reset, and delete — including batch operations and file watching.