What is JWT_SECRET?

What is JWT_SECRET? I am using Rasa X 0.42.0 , Docker-Compose Rasa 2.8. What is this environment variable used for ?

@yxs8495

env file. It’s actually a simple configuration text file that is used to define some variables you want to pass into your application’s environment. This file needs a something like a parser to make it work. The parser reads the variable definitions one-by-one and parses them to the environment

Below are the environment values which will be used in code:


# rasax specific settings
RASA_X_VERSION="0.42.6"
RASA_VERSION="2.8.14-full"
RASA_TOKEN=<random_string>
RASA_X_TOKEN=<random_string>
PASSWORD_SALT=<random_string>
JWT_SECRET=<random_string>
RABBITMQ_PASSWORD=<random_string>
DB_PASSWORD=<random_string>
REDIS_PASSWORD=<random_string>
RASA_TELEMETRY_ENABLED=false

Do check the environment.yml file in rasa x

/etc/rasa

I hope this will help you!