Skip to content

Commit

Permalink
Mention API tokens in DATASETTE_SECRET docs
Browse files Browse the repository at this point in the history
  • Loading branch information
simonw committed Mar 31, 2023
1 parent 4c1e277 commit 5890a20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/settings.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit 5890a20

Please sign in to comment.