diff options
author | MS <ms@taler.net> | 2021-05-12 21:26:46 +0200 |
---|---|---|
committer | MS <ms@taler.net> | 2021-05-12 21:26:46 +0200 |
commit | 8cf5a070d675b86932274b3997081e5427492480 (patch) | |
tree | 8ebdded590f3f9d3de863bb8f09465b55234d8e9 | |
parent | 09893651637313875a46df0698e7732a56f52918 (diff) | |
download | deployment-8cf5a070d675b86932274b3997081e5427492480.tar.gz deployment-8cf5a070d675b86932274b3997081e5427492480.tar.bz2 deployment-8cf5a070d675b86932274b3997081e5427492480.zip |
adapt sync to new auth style
-rwxr-xr-x | bin/taler-deployment-config-instances | 1 | ||||
-rw-r--r-- | taler-arm/taler-sync.conf | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/bin/taler-deployment-config-instances b/bin/taler-deployment-config-instances index 144073f..a4a5b3e 100755 --- 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 index 996dccf..35a7fbf 100644 --- 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}" |