martinohmann / keyring

Simple commandline wrapper around zalando/go-keyring.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

keyring

Build Status codecov Go Report Card GoDoc GitHub

Simple commandline wrapper around zalando/go-keyring.

Installation

Download the latest binary release for your platform or install via go get:

$ go install github.com/martinohmann/keyring/cmd/keyring@latest

Usage

Write secret from keyring to stdout:

$ keyring get myservice myuser

Pipe secret from keyring into another command:

$ keyring get myservice myuser | cat

Store secret in keyring, read secret from stdin:

$ echo -n "supersecret" | keyring set myservice myuser

Store secret in keyring, interactive secret prompt:

$ keyring set myservice myuser

enter secret:

Delete secret from keyring:

$ keyring delete myservice myuser

License

The source code of keyring is released under the MIT License. See the bundled LICENSE file for details.

About

Simple commandline wrapper around zalando/go-keyring.

License:MIT License


Languages

Language:Go 92.7%Language:Makefile 7.3%