Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 9 days 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 9 years ago)
- Default Branch: master
- Last Pushed: 2019-04-01T08:32:30.000Z (over 5 years ago)
- Last Synced: 2024-05-01T20:37:59.363Z (6 months ago)
- Topics: eyaml, hiera, nacl, puppet, secretbox
- Language: Ruby
- Size: 10.7 KB
- Stars: 1
- Watchers: 5
- Forks: 2
- 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.