crypt-xordataexchange1
Store and retrieve encrypted configuration parameters from etcd or consul
Usage
crypt-xordataexchange get
[arg ...]
key
crypt-xordataexchange list
[arg ...]
key
crypt-xordataexchange set
[arg ...]
key
file
Overview
Fess up. You have passwords and usernames hard coded in your apps. You have IP addresses checked in to your source code repository. You have entire configuration files that were created by the developer who wrote the app and haven't been changed since she typed "git init".
crypt (crypt-xordataexchange) is here to lead you back to the Path of Enlightened Configuration. Store encrypted configuration values in etcd or Consul using a command-line application.
Commands
get-
retrieve the value of a key
list-
retrieve all values under a key
set-
set the value of a key
Options
-
-backend="etcd" -
backend provider
-
-endpoint="" -
backend URL
-
-keyring=".pubring.gpg" -
path to armored public keyring (for
setonly)
-
-secret-keyring=".secring.gpg" -
path to armored secret keyring (for
getandlistonly)
-
-plaintext=false -
don't encrypt or decrypt the values before storage or retrieval