eid-ops/enc-secret-file

7 lines
71 B
Bash
Executable file

#!/bin/bash
data=`base64 $1 | sed 's/^/ /'`
cat<<EOF
$2: |
$data
EOF