Skip to content

Commit

Permalink
doc: add hint for PASETO_KEY generation
Browse files Browse the repository at this point in the history
  • Loading branch information
bfabio committed Nov 11, 2022
1 parent 0563de9 commit e726544
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,9 @@ You can configure the API with environment variables:
Supports PostgreSQL and SQLite.

* `PASETO_KEY` (optional): Base64 encoded 32 bytes key used to check the
[PASETO](https://paseto.io/) authentication tokens.
[PASETO](https://paseto.io/) authentication tokens. You can generate it with
`head -c3 /dev/urandom | base64`.

If not set the API will run in read only mode.

* `ENVIRONMENT` (optional): possible values `test`, `development`, `production`.
Expand Down

0 comments on commit e726544

Please sign in to comment.