Thuenen-Forest-Ecosystems / TFM-postgres-docker

Database for Terrestrial Forest Monitor
https://thuenen-forest-ecosystems.github.io/TFM-postgres-docker
GNU General Public License v3.0
0 stars 2 forks source link

jwt_secret als variable #145

Open b-lack opened 3 months ago

b-lack commented 3 months ago

Aktuell haben wir ein hard coded secret (pgrst.jwt_secret) in der Datei: https://github.com/Thuenen-Forest-Ecosystems/TFM-postgres-docker/blob/main/postgrest-config.sql

Dieser jwt-Secret ist aus Sicherheitsgründen durch eine Variable zu ersetzen, welche (wenn möglich) im .env definiert werden sollte.