Skip to content

Commit 34020de

Browse files
committed
note
1 parent addc2ff commit 34020de

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

application/configuration/multitenancy.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,13 +160,15 @@ A tenant represents an individual Chevereto instance within the multi-tenant set
160160

161161
Use [add](../../application/reference/cli.md#add-tenant). Provide tenant ID, hostname, and enabled status. `plan_id`, `limits`, and `env` are optional (JSON format).
162162

163+
**Note:** It is **recommended** to set a unique `CHEVERETO_ENCRYPTION_KEY` per tenant for enhanced security.
164+
163165
```sh
164166
app/bin/tenants -C add \
165167
--id 1 \
166168
--hostname tenant1.example.com \
167169
--is_enabled 1 \
168170
--plan_id 1 \
169-
--env '{"CHEVERETO_CACHE_TIME_MICRO":"90"}'
171+
--env '{"CHEVERETO_ENCRYPTION_KEY":"base64 encoded (size 32)"}'
170172
```
171173

172174
This creates tenant `1` at `tenant1.example.com`, enabled, associated with plan `1`, and overriding the plan’s cache time to `90` seconds.

0 commit comments

Comments
 (0)