https://github.com/tehmaze/hiera-eyaml-secretbox
NaCl Secret Box asymmetric encryption back end
https://github.com/tehmaze/hiera-eyaml-secretbox
eyaml hiera nacl puppet secretbox
Last synced: about 1 year ago
JSON representation
NaCl Secret Box asymmetric encryption back end
- Host: GitHub
- URL: https://github.com/tehmaze/hiera-eyaml-secretbox
- Owner: tehmaze
- License: mit
- Created: 2015-03-30T15:28:18.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2019-04-01T08:32:30.000Z (over 7 years ago)
- Last Synced: 2025-05-27T18:58:27.252Z (about 1 year ago)
- Topics: eyaml, hiera, nacl, puppet, secretbox
- Language: Ruby
- Size: 10.7 KB
- Stars: 1
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
hiera-eyaml-secretbox
=====================
NaCl secretbox encryption backend for the
[hiera-eyaml](https://github.com/TomPoulton/hiera-eyaml) module.
Motivation
----------
*censored*
Requirements
------------
You need [RbNaCl](https://github.com/cryptosphere/rbnacl) for the NaCl
operations, which in turn depends on [libsodium](http://www.libsodium.org/):
$ 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.