From 5890a20c374fb0812d88c9b0ef26a838bfa06c76 Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Fri, 31 Mar 2023 09:45:16 -0700 Subject: [PATCH] Mention API tokens in DATASETTE_SECRET docs --- docs/settings.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/settings.rst b/docs/settings.rst index 38227a6d..1eaecdea 100644 --- a/docs/settings.rst +++ b/docs/settings.rst @@ -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 ` 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.