mirror of
https://github.com/veeso/termscp.git
synced 2026-09-27 06:21:22 -07:00
new-path-style and endpoint s3 params
This commit is contained in:
committed by
Christian Visintin
parent
f28dba7660
commit
babbc5eadb
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user