keyring

package module
v0.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 13, 2021 License: MIT Imports: 0 Imported by: 0

README

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 get -u github.com/martinohmann/keyring/cmd/keyring

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.

Documentation

Overview

Package keyring provides a simple commandline wrapper around https://github.com/zalando/go-keyring.

Directories

Path Synopsis
cmd
pkg
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳