diff options
Diffstat (limited to 'man/taler-merchant-httpd.1')
-rw-r--r-- | man/taler-merchant-httpd.1 | 24 |
1 files changed, 22 insertions, 2 deletions
diff --git a/man/taler-merchant-httpd.1 b/man/taler-merchant-httpd.1 index 922b2b37..eadc6ee9 100644 --- a/man/taler-merchant-httpd.1 +++ b/man/taler-merchant-httpd.1 @@ -1,6 +1,6 @@ .\" Man page generated from reStructuredText. . -.TH "TALER-MERCHANT-HTTPD" "1" "Jan 27, 2021" "0.8pre0" "GNU Taler" +.TH "TALER-MERCHANT-HTTPD" "1" "Apr 26, 2021" "0.8" "GNU Taler" .SH NAME taler-merchant-httpd \- run Taler merchant backend (with RESTful API) . @@ -48,6 +48,19 @@ before running this command. .SH OPTIONS .INDENT 0.0 .TP +\fB\-a\fP \fITOKEN\fP | \fB––auth=\fP\fITOKEN\fP +Use TOKEN for initial access control to the merchant backend. The value +given in TOKEN must appear in backoffice requests to the default instance +of the merchant, i.e. "Authorization: secret\-token:TOKEN" to obtain +access to the merchant backend. Note that setting a passphrase for the +default instance by any means will block future access via TOKEN. This +is basically a way to reset the passphrase protecting access. TOKEN +should be a "pchar" as per RFC 8959, but this is NOT checked. Note that +TOKEN will only grant access to the \(aqdefault\(aq instance, not other instances. +Instead of using the command\-line, which exposes TOKEN to users on the +system, you may want to consider setting the +TALER_MERCHANT_TOKEN environment variable instead. +.TP \fB\-C\fP | \fB––connection\-close\fP Force each HTTP connection to be closed after each request (useful in combination with \-f to avoid having to wait for nc to @@ -82,6 +95,13 @@ Print version information. Sending a SIGTERM to the process will cause it to shutdown cleanly. .UNINDENT +.SH ENVIRONMENT VARIABLES +.INDENT 0.0 +.TP +.B TALER_MERCHANT_TOKEN +Like the "\-a" option, resets the access token for the default +instance to the given value. +.UNINDENT .SH SEE ALSO .sp taler\-merchant\-dbinit(1), taler\-merchant\-tip\-enable(1), taler.conf(5) @@ -92,6 +112,6 @@ electronic mail to <\fI\%taler@gnu.org\fP> .SH AUTHOR GNU Taler contributors .SH COPYRIGHT -2014-2020 Taler Systems SA (GPLv3+ or GFDL 1.3+) +2014-2021 Taler Systems SA (GPLv3+ or GFDL 1.3+) .\" Generated by docutils manpage writer. . |