summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorms <ms@taler.net>2021-06-14 15:32:00 +0200
committerms <ms@taler.net>2021-06-14 15:32:00 +0200
commit9b4ea0c8c0b4201b6d40694539cb0727ad6f013d (patch)
tree070505d9d674babd905f3230ddf879e87a2c00ab
parent14b1592834bab6d820cce29b792ef0e7ff59682e (diff)
downloaddeployment-master.tar.gz
deployment-master.tar.bz2
deployment-master.zip
Giving Apikey in sync's configHEADmaster
-rwxr-xr-xbin/taler-deployment-config-generate1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/taler-deployment-config-generate b/bin/taler-deployment-config-generate
index e721590..976c28c 100755
--- a/bin/taler-deployment-config-generate
+++ b/bin/taler-deployment-config-generate
@@ -247,6 +247,7 @@ def main(currency, envname, outdir, exchange_pub, frontends_apitoken):
sc = ConfigFile(envname, currency, exchange_pub, "sync.conf")
sc.cfg_put("taler", "currency", sc.currency)
sc.cfg_put("sync", "serve", "unix")
+ sc.cfg_put("sync", "apikey", f"Bearer {frontends_apitoken}")
sc.cfg_put("sync", "unixpath", "$HOME/sockets/sync.http")
sc.cfg_put("sync", "annual_fee", sc.currency + ":0.1")
sc.cfg_put("sync", "fulfillment_url", "taler://fulfillment-success/")