Skip to main content

keybay 0.3.1 copy "keybay: ^0.3.1" to clipboard
keybay: ^0.3.1 copied to clipboard

Cross-platform local secret storage for Dart without Flutter: one encrypted, platform-protected application store with optional passphrase or passkey protection.

example/keybay_example.dart

// A tiny CLI demonstrating the core public API.
//
//   dart run example/keybay_example.dart
import 'dart:io';

import 'package:keybay/keybay.dart';

Future<void> main() async {
  final session = await Keybay.open();
  try {
    await session.set('demo/api-token', 's3cr3t-value');
    stdout.writeln('read back: ${await session.get('demo/api-token')}');
    stdout.writeln('present:   ${await session.contains('demo/api-token')}');
    await session.delete('demo/api-token');
  } finally {
    await session.close();
  }
}
0
likes
150
points
698
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Cross-platform local secret storage for Dart without Flutter: one encrypted, platform-protected application store with optional passphrase or passkey protection.

Homepage
Repository (GitHub)
View/report issues

Topics

#security #secrets #keychain #keystore #credentials

License

MIT (license)

Dependencies

cryptography, dbus, ffi, keypass

More

Packages that depend on keybay