How to override endpoint in AWS-SDK-CPP to connect to minio server at localhost:9000
问题 I tried something like: Aws::Client::ClientConfiguration config; config.endpointOverride = Aws::String("localhost:9000"); It does not work. It seems that AWS-SDK-CPP by default uses virtual hosting: https://bucket-name/s3.amazonaws.com However, to access Minio, we need path style access: https://localhost:9000/minio/bucket-name In AWS-SDK-JAVA, there is: AmazonS3ClientBuilder.withPathStyleAccessEnabled(true) is there something similar in AWS-SDK-CPP? 回答1: The switch between path style and