Lightweight tool to encrypt yaml values, which you can quickly install right inside your pipeline. Usable when you don't need centralized secrets management.
export OS=$(uname | tr '[:upper:]' '[:lower:]')
curl -LsSo /usr/local/bin/syml https://github.com/antonmarin/secret-yaml/releases/latest/download/syml-$OS
chmod +x /usr/local/bin/syml
export SYML_SECRET=$(syml generateSecretKey)
generate secret and store inside env variablesyml encrypt --secret=${SYML_SECRET} ~/decryptedSecrets/secret.yaml > ~/encryptedSecrets/secret.yaml
encrypt values inside yaml-file and save to new filesyml decrypt --secret=${SYML_SECRET} ~/encryptedSecrets/secret.yaml > ~/decryptedSecrets/secret.yaml
decrypt values inside yaml-file and save to new file
syml help
to get more about usage