/security

A Ruby library for interacting with the macOS Keychain

Primary LanguageRubyMIT LicenseMIT

Security

Build Status Gem License

A library for interacting with the macOS Keychain

This library provides only a subset of security subcommands, and is not intended for general use.

Usage

require 'security'

Security::Keychain::default_keychain.filename #=> "/Users/jappleseed/Library/Keychains/login.keychain"

Security::InternetPassword.find(server: "itunesconnect.apple.com").password #=> "p4ssw0rd"

License

MIT