new-path-style and endpoint s3 params

This commit is contained in:
veeso
2022-03-05 11:06:14 +01:00
committed by Christian Visintin
parent f28dba7660
commit babbc5eadb
6 changed files with 190 additions and 21 deletions
+2 -1
View File
@@ -228,11 +228,12 @@ impl AuthActivity {
fn load_bookmark_s3_into_gui(&mut self, params: AwsS3Params) {
self.mount_s3_bucket(params.bucket_name.as_str());
self.mount_s3_region(params.region.as_deref().unwrap_or(""));
self.mount_s3_endpoint(params.endpoint.as_deref().unwrap_or(""));
self.mount_s3_profile(params.profile.as_deref().unwrap_or(""));
self.mount_s3_access_key(params.access_key.as_deref().unwrap_or(""));
self.mount_s3_secret_access_key(params.secret_access_key.as_deref().unwrap_or(""));
self.mount_s3_security_token(params.security_token.as_deref().unwrap_or(""));
self.mount_s3_session_token(params.session_token.as_deref().unwrap_or(""));
// TODO: add mount
self.mount_s3_new_path_style(params.new_path_style);
}
}