From 235c242e5978dc2cf7a1f4d21963a7f5788c9092 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Wed, 14 Jan 2026 12:46:37 -0800 Subject: [PATCH] Generalize S3 allow-all documentation --- Quick-Start-with-weed-mini.md | 2 +- S3-Credentials.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Quick-Start-with-weed-mini.md b/Quick-Start-with-weed-mini.md index f4da6e4..54c1ae8 100644 --- a/Quick-Start-with-weed-mini.md +++ b/Quick-Start-with-weed-mini.md @@ -81,7 +81,7 @@ The initial IAM config will be created automatically for the `mini` user with th ## Default S3 Access -By default, `weed mini` starts in **"Allow All" mode** if no S3 credentials are configured. This is designed for maximum ease of use in development and testing environments. +By default, the SeaweedFS S3 gateway starts in **"Allow All" mode** if no S3 credentials are configured. This is designed for maximum ease of use in development and testing environments, and it applies to all S3 instances, including `weed mini`. - **No credentials configured**: All S3 operations are allowed without authentication. - **Credentials added**: As soon as *any* credentials are configured (either initially via flags/env vars or dynamically via the Admin UI/Shell), **authentication is automatically enabled** and all requests will then require valid credentials. diff --git a/S3-Credentials.md b/S3-Credentials.md index bffb905..c3f1896 100644 --- a/S3-Credentials.md +++ b/S3-Credentials.md @@ -323,11 +323,11 @@ Environment variables create global admin access and cannot be scoped to specifi By default, the SeaweedFS S3 gateway handles anonymous access differently depending on whether any credentials have been configured: -### Allow-All Mode (Default for `weed mini`) +### Allow-All Mode If no S3 credentials have been configured through any of the methods above (config files, filer, or environment variables), the S3 gateway defaults to **Allow-All Mode**. In this mode: - All S3 operations are permitted without authentication. -- This is the default state when starting `weed mini` without any flags or environment variables. +- This is the default state for `weed mini` (and `weed s3`) when starting without any flags or environment variables. ### Authentication Required Mode