diff --git a/templates/duplicity.cnf.j2 b/templates/duplicity.cnf.j2 index d4fa9bc..f5a1f3d 100644 --- a/templates/duplicity.cnf.j2 +++ b/templates/duplicity.cnf.j2 @@ -1,3 +1,5 @@ +{% if duplicity_backend == s3 -%} export PASSPHRASE="{{ duplicity_s3_passphrase }}" export AWS_ACCESS_KEY_ID={{ duplicity_s3_access_key }} export AWS_SECRET_ACCESS_KEY={{ duplicity_s3_secret_key }} +{% endif %}