Closed dirkpetersen closed 1 day ago
To ensure that this works deterministically, it would be better to replace
self.envrn['RCLONE_S3_ENDPOINT'] = cfg.endpoint
self.envrn['RCLONE_S3_REGION'] = cfg.get_region(
cfg.profile)
with
self.envrn['RCLONE_S3_PROFILE'] = cfg.profile
@victormachadoperez, please hold off on this for now because it seems there was a little change in how AWS cli handles end points, they have now 'services' concept:
https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-endpoints.html
I will test this some more and check how this is consistent with rclone, perhaps we leave the endpoint in config.ini if there is no consistency, let me check
Solved in froster v0.14.19
endpoints are now stored and read from the ~/.aws/config file
My ~/.aws/config has this entry:
However when I select this profile for my IDrive provider it will only detect a previously configured region but not the endpoint_url
instead I see that the endpoint is written to config.ini where it does not belong
Instead , the selected region, endpoint and signature version should be written back to ~/.aws/config . All providers that require an endpoint url should also have signature_version = s3v4 set . endpoint and signature are indented by tab character
also I see that after config the AWS profile contains "output = json" . Do we know how this impacts the user? It may not be a change they want ?