API reference · Browser

# @toip-tools/web-vault

10 public exports.

Module import:

```ts
import { type Account, createVault, type Lock } from "@toip-tools/web-vault";
```

## Functions

- [`createVault`](https://toip.tools/toolkit/web-vault/api/createVault/)

  Creates a browser account vault with its own storage namespace and unlocked-account cache.

- [`passkeysAvailable`](https://toip.tools/toolkit/web-vault/api/passkeysAvailable/)

  Whether this browser can make passkeys at all.

## Classes

- [`PasskeyUnsupported`](https://toip.tools/toolkit/web-vault/api/PasskeyUnsupported/)

## Interfaces

- [`Account`](https://toip.tools/toolkit/web-vault/api/Account/)

- [`Sealed`](https://toip.tools/toolkit/web-vault/api/Sealed/)

- [`Unlocked`](https://toip.tools/toolkit/web-vault/api/Unlocked/)

  An account whose key is in memory: what a tab needs to act for it.

- [`VaultConfig`](https://toip.tools/toolkit/web-vault/api/VaultConfig/)

## Types

- [`Lock`](https://toip.tools/toolkit/web-vault/api/Lock/)
- [`Protection`](https://toip.tools/toolkit/web-vault/api/Protection/)
- [`Vault`](https://toip.tools/toolkit/web-vault/api/Vault/)

Signatures and source documentation are generated from [`packages/web-vault/src/index.ts`](https://github.com/yourbuddyconner/toip-tools/blob/main/packages/web-vault/src/index.ts).

---

This is the Markdown version of https://toip.tools/toolkit/web-vault/api/. An index of the documentation for AI assistants is at https://toip.tools/llms.txt.
