commit 8cf5a070d675b86932274b3997081e5427492480
parent 09893651637313875a46df0698e7732a56f52918
Author: MS <ms@taler.net>
Date: Wed, 12 May 2021 21:26:46 +0200
adapt sync to new auth style
Diffstat:
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/bin/taler-deployment-config-instances b/bin/taler-deployment-config-instances
@@ -99,6 +99,7 @@ ensure_instance(
auth=dict(method="token", token=TALER_ENV_FRONTENDS_APITOKEN),
)
+# This instance relate to both the donation receiver and the sync service.
ensure_instance(
"Taler",
name="Taler",
diff --git a/taler-arm/taler-sync.conf b/taler-arm/taler-sync.conf
@@ -4,4 +4,4 @@ BINARY = sync-httpd
# Ugly hack: Specify the merchant backend API key here.
# Ideally, the sync httpd would read the API key from
# the sync.conf, but it can't do that yet.
-OPTIONS = -l $HOME/logs/sync-%Y-%m-%d.log --apikey sandbox
+OPTIONS = -l $HOME/logs/sync-%Y-%m-%d.log --apikey "Bearer ${TALER_ENV_FRONTENDS_APITOKEN}"