crypt

command
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2014 License: MIT Imports: 10 Imported by: 0

README

crypt

Install

go install github.com/xordataexchange/crypt/bin/crypt

Backends

crypt supports etcd and consul as backends via the -backend flag.

Usage

usage: crypt COMMAND [arg...]

commands:
   get  retrieve the value of a key
   set  set the value of a key
Encrypted and set a value
usage: crypt set [args...] key file
  -backend="etcd": backend provider
  -endpoint="": backend url
  -keyring=".pubring.gpg": path to armored public keyring

Example:

crypt set -keyring pubring.gpg /app/config config.json 
Retrieve and decrypted a value
usage: crypt get [args...] key
  -backend="etcd": backend provider
  -endpoint="": backend url
  -secret-keyring=".secring.gpg": path to armored secret keyring

Example:

crypt get -secret-keyring secring.gpg /app/config

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL