-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix/presigned url addressing style #1179
Conversation
Pull Request Test Coverage Report for Build 10607427461Details
💛 - Coveralls |
@@ -148,7 +148,7 @@ def generate_presigned_url_for_uploading_part( | |||
aws_secret_access_key=credentials["aws_secret_access_key"], | |||
aws_session_token=credentials.get("aws_session_token", None), | |||
region_name=region, | |||
config=Config(s3={"addressing_style": "path"}, signature_version="s3v4"), | |||
config=Config(signature_version="s3v4"), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no need to add endpoint_url
here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure. It appears to be not there before, and the clever safe tests in CI are for download only.
But I can try to add it later 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Bug Fixes
auto
addressing style for presigned url generation (attempts to usevirtual
, but falls back topath
if necessary)endpoint_url
from Fence config to boto3 client for presigned url creation