mirror of
https://github.com/zulip/zulip.git
synced 2025-10-31 20:13:46 +00:00
docs: Update documentation for secrets related settings.
This is a follow-up to #22699 to document the new `get_mandatory_secret` helper. Signed-off-by: Zixuan James Li <p359101898@gmail.com>
This commit is contained in:
committed by
Tim Abbott
parent
c6130ce4b1
commit
ae33873902
@@ -62,8 +62,8 @@ The Vagrant setup process runs this for you.
|
||||
## Secrets
|
||||
|
||||
Please don't put any passwords, secret access keys, etc. inline in the
|
||||
code. Instead, use the `get_secret` function in `zproject/config.py`
|
||||
to read secrets from `/etc/zulip/secrets.conf`.
|
||||
code. Instead, use the `get_secret` function or the `get_mandatory_secret`
|
||||
function in `zproject/config.py` to read secrets from `/etc/zulip/secrets.conf`.
|
||||
|
||||
## Dangerous constructs
|
||||
|
||||
|
||||
Reference in New Issue
Block a user