Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/lunixbochs/go-keychain

Simple OS keychain bindings for password storage in Go (Golang)
https://github.com/lunixbochs/go-keychain

Last synced: 2 months ago
JSON representation

Simple OS keychain bindings for password storage in Go (Golang)

Awesome Lists containing this project

README

        

go-keychain
====

A simple interface for using the operating system's keychain to store and retrieve passwords.

Currently only supports OS X.

Usage
----

```Go
import "github.com/lunixbochs/go-keychain"

func main() {
keychain.Add("test service", "username", "password")
keychain.Find("test service", "username") == "password"
keychain.Remove("test service", "username")
}
```