simple utility for making a secret-file yaml snippet
This commit is contained in:
parent
ed5ae245c4
commit
0ebb631f3b
1 changed files with 7 additions and 0 deletions
7
enc-secret-file
Executable file
7
enc-secret-file
Executable file
|
@ -0,0 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
data=`base64 $1 | sed 's/^/ /'`
|
||||
cat<<EOF
|
||||
$2: |
|
||||
$data
|
||||
EOF
|
Loading…
Add table
Reference in a new issue