taler-deployment

Deployment scripts and configuration files
Log | Files | Refs | README

commit 9b4ea0c8c0b4201b6d40694539cb0727ad6f013d
parent 14b1592834bab6d820cce29b792ef0e7ff59682e
Author: ms <ms@taler.net>
Date:   Mon, 14 Jun 2021 15:32:00 +0200

Giving Apikey in sync's config

Diffstat:
Mbin/taler-deployment-config-generate | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git 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/")