This is an automated email from the ASF dual-hosted git repository.
asukaminato pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/opendal.git
The following commit(s) were added to refs/heads/main by this push:
new 147b1e184 chore(services/s3)!: remove deprecated `S3::security_token`
(#6779)
147b1e184 is described below
commit 147b1e1844e680d66687c7e1de9365ed97d15aa1
Author: Qinxuan Chen <[email protected]>
AuthorDate: Fri Nov 14 16:27:29 2025 +0800
chore(services/s3)!: remove deprecated `S3::security_token` (#6779)
Since v0.48, the method has been deprecated and replaced by the
`session_token` method.
Given that v0.55 has been released now, I think it's time to remove it.
---
core/src/services/s3/backend.rs | 6 ------
1 file changed, 6 deletions(-)
diff --git a/core/src/services/s3/backend.rs b/core/src/services/s3/backend.rs
index 458692bbb..912445d6e 100644
--- a/core/src/services/s3/backend.rs
+++ b/core/src/services/s3/backend.rs
@@ -379,12 +379,6 @@ impl S3Builder {
self
}
- /// Set temporary credential used in AWS S3 connections
- #[deprecated(note = "Please use `session_token` instead")]
- pub fn security_token(self, token: &str) -> Self {
- self.session_token(token)
- }
-
/// Disable config load so that opendal will not load config from
/// environment.
///