24da0c8cfb
Co-authored-by: Monta <monta@HP-ProBook-445-14-inch-G9-Notebook-PC-505aadfc.localdomain>
34 lines
739 B
Markdown
34 lines
739 B
Markdown
---
|
|
description: You should update this security keys to ship Twake Drive in production.
|
|
---
|
|
|
|
# 🔒 Security
|
|
<!-- TODO[NOT UP TO DATE] -->
|
|
> See how to [Detach Configuration](./) first.
|
|
|
|
The following keys must be updated to increase Twake Drive security in [docker-compose.yml location]/configuration/backend-node/production.json:
|
|
|
|
```json
|
|
{
|
|
"websocket": {
|
|
"auth": {
|
|
"jwt": {
|
|
"secret": "xxx" // JWT secret for websockets
|
|
}
|
|
}
|
|
},
|
|
"auth": {
|
|
"jwt": {
|
|
"secret": "xxx" // JWT secret
|
|
}
|
|
},
|
|
"database": {
|
|
"secret": "xxx" // Db app layer encryption key
|
|
},
|
|
"storage": {
|
|
"secret": "xxx", // Storage app layer encryption key
|
|
"iv": "xxx" // Storage app layer encryption iv
|
|
}
|
|
}
|
|
```
|