simple utility for making a secret-file yaml snippet

This commit is contained in:
Leif Johansson 2017-11-23 10:03:41 +01:00
parent ed5ae245c4
commit 0ebb631f3b

7
enc-secret-file Executable file
View file

@ -0,0 +1,7 @@
#!/bin/bash
data=`base64 $1 | sed 's/^/ /'`
cat<<EOF
$2: |
$data
EOF