<commit_before>Keyring [![Build Status](https://travis-ci.org/99designs/keyring.svg?branch=master)](https://travis-ci.org/99designs/keyring)
=======

Keyring provides utility functions for and a common interface to a range of secure credential storage services. Originally developed as part of [AWS Vault](https://github.com/99designs/aws-vault), a command line tool for securely managing AWS access from developer workstations.

Currently Keyring supports the following backends
  * macOS/OSX Keychain
  * [Secret Service](https://github.com/99designs/aws-vault/pull/98)
  * [KDE Wallet](https://github.com/99designs/aws-vault/pull/27)
  * [Encrypted File](https://github.com/99designs/aws-vault/pull/63)

## Installing

`go get github.com/99designs/keyring`

## Usage

The short version of how to use keyring is shown below.

```go
ring, _ := keyring.Open(keyring.Config{<commit_msg>Mention Windows support in README<commit_after>Keyring [![Build Status](https://travis-ci.org/99designs/keyring.svg?branch=master)](https://travis-ci.org/99designs/keyring)
=======

Keyring provides utility functions for and a common interface to a range of secure credential storage services. Originally developed as part of [AWS Vault](https://github.com/99designs/aws-vault), a command line tool for securely managing AWS access from developer workstations.

Currently Keyring supports the following backends
  * macOS/OSX Keychain
  * Windows credential store
  * [Secret Service](https://github.com/99designs/aws-vault/pull/98)
  * [KDE Wallet](https://github.com/99designs/aws-vault/pull/27)
  * [Encrypted File](https://github.com/99designs/aws-vault/pull/63)

## Installing

`go get github.com/99designs/keyring`

## Usage

The short version of how to use keyring is shown below.

```go
ring, _ := keyring.Open(keyring.Config{
{'fraction_non_alphanumeric': 0.12589334799340296, 'fraction_numerical': 0.02199010445299615, 'mean_word_length': 4.967213114754099, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 12, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3413517', 'n_tokens_mistral': 606, 'n_tokens_neox': 573, 'n_words': 150}