Sign in
apache
/
airflow-openldap
/
ccfae0600033db49f2d7ec124cfdf0607c1fe0d8
/
.
/
example
/
kubernetes
/
using-secrets
/
environment
/
file-to-base64.sh
blob: 3aca201ff4d0496327c3da7d050bce8264c5a15b [
file
] [
log
] [
blame
]
#!/bin/bash
# print a file encode into base64
FILE
=
$1
FILE_ENCODED
=
$
(
cat $FILE
|
base64
--
wrap
=
0
)
echo $FILE_ENCODED