@@ -37,9 +37,9 @@ static string certFileLocations[] = {
3737
3838// ! Parse and set the remaining options
3939static void ParseCoreS3Config (CreateSecretInput &input, KeyValueSecret &secret) {
40- vector<string> options = {" key_id" , " secret" , " region" ,
41- " endpoint" , " session_token" , " endpoint " ,
42- " url_style " , " use_ssl" , " s3_url_compatibility_mode" };
40+ vector<string> options = {" key_id" , " secret" , " region" ,
41+ " endpoint" , " session_token" , " url_style " ,
42+ " use_ssl" , " s3_url_compatibility_mode" };
4343 for (const auto &val : options) {
4444 auto set_region_param = input.options .find (val);
4545 if (set_region_param != input.options .end ()) {
@@ -291,7 +291,6 @@ static unique_ptr<BaseSecret> CreateAWSSecretFromCredentialChain(ClientContext &
291291 result->secret_map [" refresh_info" ] = Value::STRUCT (struct_fields);
292292 }
293293
294- AwsSetCredentialsResult ret;
295294 if (!credentials.IsExpiredOrEmpty ()) {
296295 result->secret_map [" key_id" ] = Value (credentials.GetAWSAccessKeyId ());
297296 result->secret_map [" secret" ] = Value (credentials.GetAWSSecretKey ());
0 commit comments