Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/fastlane-community/security

A Ruby library for interacting with the macOS Keychain
https://github.com/fastlane-community/security

Last synced: about 2 months ago
JSON representation

A Ruby library for interacting with the macOS Keychain

Awesome Lists containing this project

README

        

# Security

[![Build Status][build status badge]][build status]
[![Gem](https://img.shields.io/gem/v/security.svg?style=flat)](https://rubygems.org/gems/security)
[![License](https://img.shields.io/badge/license-MIT-green.svg?style=flat)](https://github.com/fastlane-community/security/blob/main/LICENSE.md)

**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

```ruby
require 'security'

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

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

## License

MIT

[build status]: https://github.com/mattt/Security/actions?query=workflow%3ACI
[build status badge]: https://github.com/mattt/Security/workflows/CI/badge.svg