Added encrypt with container

This commit is contained in:
2024-09-05 09:58:31 +02:00
parent 8a7dc29910
commit 6d0c313a40
+6
View File
@@ -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