Skip to content

Commit 981af13

Browse files
committed
Document the CLI option.
1 parent e6341f5 commit 981af13

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

docs/source/explanations/security.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,13 @@ client, a cookie will be set in your client and you won’t need to use the toke
3535
again. It is valid indefinitely.
3636

3737
For horizontally-scaled deployments where you need multiple instances of the
38-
server to share the same secret, you can set it via an environment variable like
39-
so.
38+
server to share the same secret, you can set it with a CLI option
39+
40+
```
41+
tiled serve ... --api-key=YOUR_SECRET
42+
```
43+
44+
or via an environment variable
4045

4146
```
4247
TILED_SINGLE_USER_API_KEY=YOUR_SECRET tiled serve ...

0 commit comments

Comments
 (0)