{"repo":"zalando/go-keyring","free":true,"listed":false,"github":"https://github.com/zalando/go-keyring","clone":"git clone https://github.com/zalando/go-keyring.git","description":"Cross-platform keyring interface for Go","language":"Go","stars":1315,"topics":["golang","dbus","secret","keyring","utilities","authentication"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"Go Keyring library go-keyring is an OS-agnostic library for setting , getting and deleting secrets from the system keyring. It supports OS X , Linux/BSD (dbus) and Windows . go-keyring was created after its authors searched for, but couldn't find, a better alternative. It aims to simplify using statically linked binaries, which is cumbersome when relying on C bindings (as other keyring libraries do). Potential Uses If you're working with an application that needs to store user credentials locally on the user's machine, go-keyring might come in handy. For instance, if you are writing a CLI for an API that requires a username and password, you can store this information in the keyring instead of having the user type it on every invocation. Dependencies OS X The OS X implementation depends on the /usr/bin/security binary for interfacing with the OS X keychain. It should be available by default. Linux and BSD The Linux and BSD implementation depends on the [Secret Service][SecretService] dbus interface, which is provided by GNOME Keyring. It's expected that the default collection login exists in the keyring, because it's the default in most distros. If it doesn't exist, you can create it through the keyring frontend program Seahorse: Open seahorse Go to File New Password Keyring Click Continue When asked for a name, use: login Example Usage How to set and get a secret from the keyring: Direct CLI Usage While this library provides a convenient Go API, you can also interact with th","default_branch":null,"files":null,"tree":[],"storefront":"/r/zalando","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/zalando/go-keyring/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}