MyNixOS website logo
option

services.postgrest.jwtSecretFile

The secret or JSON Web Key (JWK) (or set) used to decode JWT tokens clients provide for authentication. For security the key must be at least 32 characters long. If this parameter is not specified then PostgREST refuses authentication requests.

https://docs.postgrest.org/en/stable/references/configuration.html#jwt-secret.

Declarations
Type
null or absolute path not in the Nix store
Default
null
Example
"/run/keys/jwt_secret"