#tauri-plugin #keyring #delete-password

sys tauri-plugin-keyring

A tauri plugin wrapper for the keyring crate

1 unstable release

new 0.1.0 Dec 23, 2024

#16 in #keyring

MIT license

13KB
291 lines

Tauri Plugin keyring

A simple wrapper over rust keyring crate.

import {
  getPassword,
  setPassword,
  deletePassword,
} from "tauri-plugin-keyring-api";

const service = "my-service";
const user = "my-user";

if (!pass) {
  await setPassword(service, user, "my-password");
}
const pass: string = await getPassword(service, user);

await deletePassword(service, user);

Dependencies

~18–59MB
~1M SLoC