On Thursday, 6 February 2014 21:37:55 UTC, Larry Fast wrote: The default value for the private key path in the eyaml CLI is ./keys/private_key.pkcs7.pem. Is there an CLI option to override the default?
yep :) $ eyaml --help Hiera-eyaml is a backend for Hiera which provides OpenSSL encryption/decryption for Hiera properties Usage: eyaml [options] eyaml -i file.eyaml # edit a file eyaml -e -s some-string # encrypt a string eyaml -e -p # encrypt a password eyaml -e -f file.txt # encrypt a file cat file.txt | eyaml -e # encrypt a file on a pipe Options: --createkeys, -c: Create public and private keys for use encrypting properties --decrypt, -d: Decrypt something --encrypt, -e: Encrypt something --edit, -i <s>: Decrypt, Edit, and Reencrypt --eyaml, -y <s>: Source input is an eyaml file --password, -p: Source input is a password entered on the terminal --string, -s <s>: Source input is a string provided as an argument --file, -f <s>: Source input is a file --stdin: Source input is taken from stdin --encrypt-method, -n <s>: Override default encryption and decryption method (default is PKCS7) (default: pkcs7) --output, -o <s>: Output format of final result (examples, block, string) (default: examples) --label, -l <s>: Apply a label to the encrypted result --debug: Be more verbose --quiet: Be less verbose * --pkcs7-public-key, -k <s>: Public key directory (default: ./keys/public_key.pkcs7.pem)* * --pkcs7-private-key, -r <s>: Private key directory (default: ./keys/private_key.pkcs7.pem)* --version, -v: Print version and exit --help, -h: Show this message -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/4a78c0a5-d8b2-4487-987e-a7d60b38b072%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.