mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
-e/--expires-after in create-token docs
This commit is contained in:
parent
677ba9dddd
commit
3bd05b854a
1 changed files with 1 additions and 1 deletions
|
|
@ -442,7 +442,7 @@ You can also create tokens on the command line using the ``datasette create-toke
|
||||||
|
|
||||||
This command takes one required argument - the ID of the actor to be associated with the created token.
|
This command takes one required argument - the ID of the actor to be associated with the created token.
|
||||||
|
|
||||||
You can specify an ``--expires-after`` option in seconds. If omitted, the token will never expire.
|
You can specify a ``-e/--expires-after`` option in seconds. If omitted, the token will never expire.
|
||||||
|
|
||||||
The command will sign the token using the ``DATASETTE_SECRET`` environment variable, if available. You can also pass the secret using the ``--secret`` option.
|
The command will sign the token using the ``DATASETTE_SECRET`` environment variable, if available. You can also pass the secret using the ``--secret`` option.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue