2023-12-10 20:23:42 +08:00
|
|
|
SilverBullet supports simple authentication for a single user.
|
2023-06-14 02:47:05 +08:00
|
|
|
|
2024-11-15 23:50:50 +08:00
|
|
|
By passing the `--user` flag with a username:password combination, you enable authentication for a single user. For instance:
|
2023-06-14 02:47:05 +08:00
|
|
|
|
|
|
|
```shell
|
|
|
|
silverbullet --user pete:1234 .
|
|
|
|
```
|
|
|
|
|
|
|
|
Will let `pete` authenticate with password `1234`.
|
|
|
|
|
2024-11-15 23:50:50 +08:00
|
|
|
Authentication can also be configured via environment variables (which offer a bit more flexibility), see [[Install/Configuration#Authentication]].
|