Skip to content

Commit 147b1e1

Browse files
authored
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.
1 parent 58ef05b commit 147b1e1

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

core/src/services/s3/backend.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -379,12 +379,6 @@ impl S3Builder {
379379
self
380380
}
381381

382-
/// Set temporary credential used in AWS S3 connections
383-
#[deprecated(note = "Please use `session_token` instead")]
384-
pub fn security_token(self, token: &str) -> Self {
385-
self.session_token(token)
386-
}
387-
388382
/// Disable config load so that opendal will not load config from
389383
/// environment.
390384
///

0 commit comments

Comments
 (0)