From 6d0c313a40e63e913fcd4bcca0e88225c47f0f81 Mon Sep 17 00:00:00 2001 From: Basil Bruhn Date: Thu, 5 Sep 2024 09:58:31 +0200 Subject: [PATCH] Added encrypt with container --- admin-guide/puppet/hiera.md | 6 ++++++ 1 file changed, 6 insertions(+) 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