No commit activity in last 3 years
No release in over 3 years
NaCl encryptor for use with hiera-eyaml
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

~> 3.0
 Project Readme

hiera-eyaml-secretbox

NaCl secretbox encryption backend for the hiera-eyaml module.

Motivation

censored

Requirements

You need RbNaCl for the NaCl operations, which in turn depends on libsodium:

$ gem install rbnacl

How to use

Encrypting and editing encrypted data

Once installed you can create encrypted hiera-eyaml blocks that are encrypted using Secret Box.

$ eyaml encrypt -n secretbox -s "A secret string to encrypt"

Use eyaml --help for more details or look at the hiera-eyaml docs.

Configuring hiera

Assuming you have a working hiera and hiera-eyaml then you need to configure a path for the :secretbox_private_key: and :secretbox_public_key: file locations.