From 464cad3e7a898a642edd89c6af1e2bfbf39b3fa9 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Wed, 14 Jan 2026 12:52:36 -0800 Subject: [PATCH] Clarify weed mini credential configuration with examples --- Quick-Start-with-weed-mini.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Quick-Start-with-weed-mini.md b/Quick-Start-with-weed-mini.md index 54c1ae8..c3a6b3b 100644 --- a/Quick-Start-with-weed-mini.md +++ b/Quick-Start-with-weed-mini.md @@ -90,7 +90,13 @@ By default, the SeaweedFS S3 gateway starts in **"Allow All" mode** if no S3 cre To enable authentication for `weed mini`, use one of the following methods: 1. **Environment Variables**: Set `AWS_ACCESS_KEY_ID` and `AWS_SECRET_ACCESS_KEY` before starting. + ```bash + AWS_ACCESS_KEY_ID=any AWS_SECRET_ACCESS_KEY=any weed mini -dir=/data + ``` 2. **Config File**: Use the `-s3.config` flag with a JSON credentials file. + ```bash + weed mini -dir=/data -s3.config=s3.config + ``` 3. **Dynamic Configuration**: Start normally, then add users through the **Admin UI** or **weed shell**. The server will automatically switch from "Allow All" to "Authentication Required" mode. ---