mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Mention API tokens in DATASETTE_SECRET docs
This commit is contained in:
parent
4c1e277edb
commit
5890a20c37
1 changed files with 1 additions and 1 deletions
|
|
@ -353,7 +353,7 @@ Configuring the secret
|
|||
|
||||
Datasette uses a secret string to sign secure values such as cookies.
|
||||
|
||||
If you do not provide a secret, Datasette will create one when it starts up. This secret will reset every time the Datasette server restarts though, so things like authentication cookies will not stay valid between restarts.
|
||||
If you do not provide a secret, Datasette will create one when it starts up. This secret will reset every time the Datasette server restarts though, so things like authentication cookies and :ref:`API tokens <CreateTokenView>` will not stay valid between restarts.
|
||||
|
||||
You can pass a secret to Datasette in two ways: with the ``--secret`` command-line option or by setting a ``DATASETTE_SECRET`` environment variable.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue