diff --git a/admin-guide/puppet/hiera.md b/admin-guide/puppet/hiera.md index e4455f07..d27df42c 100644 --- a/admin-guide/puppet/hiera.md +++ b/admin-guide/puppet/hiera.md @@ -124,6 +124,12 @@ block: > # ``` +Alternatively if you already have docker installed you can use our container to encrypt a string + +```bash +# docker run -it container.psi.ch/docker/containers/eyaml-docker eyaml encrypt --pkcs7-public-key=/cert.pub -s {DataStringToEncrypt} +``` + and place either the string or the block at the required place in your Hiera YAML. # Hiera Variable Interpolation