fix(auth): restore filtered ListBuckets fallback (#5726)

This commit is contained in:
Zhengchao An
2026-08-05 15:21:51 +08:00
committed by GitHub
parent db1daaece2
commit 759ade4770
5 changed files with 103 additions and 2 deletions
+6 -1
View File
@@ -564,7 +564,12 @@ impl RustFSTestEnvironment {
/// Create an AWS S3 client configured for this RustFS instance
pub fn create_s3_client(&self) -> Client {
Client::from_conf(build_test_s3_config(&self.url, &self.access_key, &self.secret_key, "e2e-test"))
self.create_s3_client_with_credentials(&self.access_key, &self.secret_key)
}
/// Create an AWS S3 client with explicit credentials for this RustFS instance.
pub fn create_s3_client_with_credentials(&self, access_key: &str, secret_key: &str) -> Client {
Client::from_conf(build_test_s3_config(&self.url, access_key, secret_key, "e2e-test"))
}
/// Create test bucket