SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.
Go blob-storagecloud-drivedistributed-file-systemdistributed-storageerasure-codingfusehadoop-hdfshdfskuberneteslancelancedbobject-storageposixs3s3-storageseaweedfstiered-file-systemvector-search
s3tables: remove legacy principal fallback header
Chris Lue4e4dea14010
diff --git a/weed/s3api/s3tables/handler.go b/weed/s3api/s3tables/handler.goindex 76be2334ad..ccff1fe7c9 100644--- a/weed/s3api/s3tables/handler.go+++ b/weed/s3api/s3tables/handler.go@@ -159,11 +159,6 @@ func (h *S3TablesHandler) getPrincipalFromRequest(r *http.Request) string {return identityName}- // Fallback to request header (e.g., for testing or legacy clients)- if principal := r.Header.Get("X-Amz-Principal"); principal != "" {- return principal- }-// Fallback to the authenticated account IDif accountID := r.Header.Get(s3_constants.AmzAccountId); accountID != "" {return accountID