envsubst < config.txt # Expected output: # server: https://gitlab.com/skofgar # username: foo_user # password: mymonkey