eyaml — command line interface for the hiera eyaml backend
Contents
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.
Debian Mar 31, 2014 EYAML(1)
Description
The eyaml 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
encryptingdata$eyamlencrypt--string'foobar'
Encrypts the command line argument to "--string", and outputs the encrypted data on two formats, line and
block. This can be included in an .eyaml file. The "eyaml" command expects keys to be present in the
"./keys/" directory by default.
usingtheeditorwrapper$eyamledithieradata/common.eyaml
Decrypts the file into a temporary file, and opens the file in a text editor. Values to be encrypted are
wrapped in markup. When the file is saved, any changed values are encrypted.
Name
eyaml — command line interface for the hiera eyaml backend
Synopsis
eyaml [--help] [subcommand [subcommandoptions]]
allsubcommands
[--help, -h]
Displayhelp
[--version]
Displayprogramversion
[--verbose, -v]
Bemoreverbose
[--quiet, -q]
Belessverbose
[--encrypt-method, -nMETHOD]
Overridedefaultencryptionanddecryptionmethod(default:pkcs7)
[--pkcs7-private-key-FILE]
Pathtoprivatekey(default:./keys/private_key.pkcs7.pem)
[--pkcs7-public-key-FILE]
Pathtopublickey(default:./keys/public_key.pkcs7.pem)
[--pkcs7-subject-SUBJECT]
Subjecttouseforcertificatewhencreatingkeys(default:/)eyamlcreatekeys [options]
Createanewkeypaireyamldecrypt [options]
Decryptdata
[--stringSTRING]
SourceinputSTRINGisprovidedasanargument
[--file, -fFILE]
SourceinputFILEisaregularfile
[--eyaml, -eFILE]
SourceinputFILEisaneyamlfile
[--stdin]
SourceinputistakenfromSTDINeyamleditFILEEditafileeyamlencrypt [options]
[--password, -p]
Sourceinputisapasswordenteredontheterminal
[--eyaml, -eFILE]
SourceinputFILEisaneyamlfile
[--file, -fFILE]
SourceinputFILEisaregularfile
[--stdin]
SourceinputistakenfromSTDIN
[--stringSTRING]
SourceinputSTRINGisprovidedasanargument
[--output, -o]
Outputformatoffinalresult(examples,block,string)(default:examples)
[--label, -lLABEL]
Applyalabeltotheencryptedresulteyamlrecrypt [options]
recryptaneyamlfileeyamlversionshowversioninformation