macos-keychain-passwords
v0.0.5
Published
Allow access the macOS X Keychain via the OS X Security Framework native API
Downloads
2
Maintainers
Readme
Description
Allows access to macOS Keychain via the the native OS X Security Framework API (SecItemAdd, SecItemCopyMatching)
Usage
Install with
npm install macos-keychain-passwords
Then use it:
var keychain = require("macos-keychain-passwords");
keychain.set_password("myservice_or_app", "myusername", "mypassword")
keychain.get_password("myservice_or_app", "myusername") // returns "mypassword"