Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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)
- Host: GitHub
- URL: https://github.com/lunixbochs/go-keychain
- Owner: lunixbochs
- License: mit
- Created: 2015-02-18T03:02:07.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2017-05-16T14:36:45.000Z (over 7 years ago)
- Last Synced: 2024-10-04T12:51:35.416Z (3 months ago)
- Language: Go
- Homepage:
- Size: 4.88 KB
- Stars: 26
- Watchers: 4
- Forks: 9
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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")
}
```