1
0
silverbullet/website/Authentication.md
Zef Hemel 30ba3fcca7
Refactoring work to support multi-tenancy and multiple storage, database backends (#598)
* Backend infrastructure
* New backend configuration work
* Factor out KV prefixing
* Don't put assets in the manifest cache
* Removed fancy authentication stuff
* Documentation updates
2023-12-10 13:23:42 +01:00

500 B

SilverBullet supports simple authentication for a single user.

By simply passing the --user flag with a username:password combination, you enable authentication for a single user. For instance:

silverbullet --user pete:1234 .

Will let pete authenticate with password 1234.

Alternative, the same information can be passed in via the SB_USER environment variable, e.g.

SB_USER=pete:1234 silverbullet .

This is especially convenient when deploying using Docker