| EYAML(1) | General Commands Manual | EYAML(1) |
NAME¶
eyaml —
command line interface for the hiera eyaml
backend
SYNOPSIS¶
eyaml |
[--helpsubcommand
[ ]subcommand
options ] |
all subcommands¶
[--help,
-hDisplay help--versionDisplay program version--verbose,
-vBe more verbose--quiet,
-qBe less verbose--encrypt-method,
-n
METHODOverride default encryption and
decryption method (default: pkcs7)--pkcs7-private-key
-FILEPath to private key (default:
./keys/private_key.pkcs7.pem)--pkcs7-public-key
-FILEPath to public key (default:
./keys/public_key.pkcs7.pem)--pkcs7-subject
-SUBJECTSubject to use for certificate when
creating keys (default: /)eyaml createkeys [options]¶
Create a new key paireyaml decrypt [options]¶
Decrypt data--string
STRINGSource input STRING is provided as an
argument--file,
-f
FILESource input FILE is a regular
file--eyaml,
-e
FILESource input FILE is an eyaml
file--stdinSource input is taken from
STDINeyaml edit FILE¶
Edit a fileeyaml encrypt [options]¶
[--password,
-pSource input is a password entered on
the terminal--eyaml,
-e
FILESource input FILE is an eyaml
file--file,
-f
FILESource input FILE is a regular
file--stdinSource input is taken from
STDIN--string
STRINGSource input STRING is provided as an
argument--output,
-oOutput format of final result
(examples, block, string) (default: examples)--label,
-l
LABELApply a label to the encrypted
resulteyaml recrypt [options]¶
recrypt an eyaml fileeyaml version¶
show version informationDESCRIPTION¶
Theeyaml command is a command line interface
for hiera-eyaml. It is used to create keys, encrypt and decrypt data, and act
as a wrapper around a text editor.
EXAMPLES¶
encrypting data¶
$ eyaml encrypt --string 'foo
bar'using the editor wrapper¶
$ eyaml edit
hieradata/common.eyamlAUTHORS¶
eyaml was written by Geoff Meakin, Peter
Dyson, Robert Fielding, Simon Hildrew and Tom Poulton.
This man page was written by Stig Sandbeck Mathisen for the Debian distribution,
but may be used by others.
BUGS¶
The file referenced in "eyaml edit" must exist. An error in the markup may result in "eyaml edit" not being able to open the file.| March 31, 2014 | Debian |