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
s3api: register the azurekms KMS provider under its build tag (#11691)
yi111fac021544e37
diff --git a/weed/s3api/auth_credentials.go b/weed/s3api/auth_credentials.goindex 6c47005ba7..11c4a105e1 100644--- a/weed/s3api/auth_credentials.go+++ b/weed/s3api/auth_credentials.go@@ -32,7 +32,6 @@ import (// Import KMS providers to register them_ "github.com/seaweedfs/seaweedfs/weed/kms/aws"- // _ "github.com/seaweedfs/seaweedfs/weed/kms/azure" // TODO: Fix Azure SDK compatibility issues_ "github.com/seaweedfs/seaweedfs/weed/kms/gcp"_ "github.com/seaweedfs/seaweedfs/weed/kms/local"_ "github.com/seaweedfs/seaweedfs/weed/kms/openbao"diff --git a/weed/s3api/kms_azure.go b/weed/s3api/kms_azure.gonew file mode 100644index 0000000000..ab5f731ea4--- /dev/null+++ b/weed/s3api/kms_azure.go@@ -0,0 +1,8 @@+//go:build azurekms++package s3api++// Import the Azure KMS provider so its init() registers it with+// weed/kms. The provider is gated behind the `azurekms` build tag so that+// default builds do not pull in the Azure SDK.+import _ "github.com/seaweedfs/seaweedfs/weed/kms/azure"