Skip to content

Commit 5326bce

Browse files
authored
Update configure-environment-variables.mdx
Signed-off-by: fulleni <[email protected]>
1 parent 704de51 commit 5326bce

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

src/content/docs/api-server/guides/configure-environment-variables.mdx

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,10 @@ For guidance on setting up a local MongoDB instance, see the [Configure MongoDB]
3636
</Aside>
3737

3838
#### `JWT_SECRET_KEY`
39-
A long, complex, and randomly generated secret used for signing JSON Web Tokens (JWTs). This key is critical for securing user authentication.
40-
41-
- **How to Generate:** You can use any secure random string generator. For example, the `dcli_scripts` package can generate one for you:
42-
```bash
43-
dart pub global activate dcli_scripts
44-
dcli_scripts create_key
45-
```
46-
- **Security:** Never commit this key to version control or expose it publicly.
39+
A long, random password used to secure your API.
40+
41+
* **How to Generate:** The easiest way is to use a free online generator. Search for "**JWT secret generator**" and create a key that is **at least 64 characters long**. Copy the key it gives you.
42+
* **Security:** Keep it secret! Never save this key in your code or commit it to version control.
4743

4844
#### `SENDGRID_API_KEY`
4945
Your API key for the SendGrid service, which is used to send transactional emails like One-Time Passwords (OTPs).

0 commit comments

Comments
 (0)