{"action":"created","issue":{"url":"https://api.github.com/repos/boto/botocore/issues/601","labels_url":"https://api.github.com/repos/boto/botocore/issues/601/labels{/name}","comments_url":"https://api.github.com/repos/boto/botocore/issues/601/comments","events_url":"https://api.github.com/repos/boto/botocore/issues/601/events","html_url":"https://github.com/boto/botocore/issues/601","id":93755840,"number":601,"title":"Can't use s3 signature version with private S3 URL.","user":{"login":"Andrey-mp","id":3232756,"avatar_url":"https://avatars.githubusercontent.com/u/3232756?v=3","gravatar_id":"","url":"https://api.github.com/users/Andrey-mp","html_url":"https://github.com/Andrey-mp","followers_url":"https://api.github.com/users/Andrey-mp/followers","following_url":"https://api.github.com/users/Andrey-mp/following{/other_user}","gists_url":"https://api.github.com/users/Andrey-mp/gists{/gist_id}","starred_url":"https://api.github.com/users/Andrey-mp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Andrey-mp/subscriptions","organizations_url":"https://api.github.com/users/Andrey-mp/orgs","repos_url":"https://api.github.com/users/Andrey-mp/repos","events_url":"https://api.github.com/users/Andrey-mp/events{/privacy}","received_events_url":"https://api.github.com/users/Andrey-mp/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-08T10:21:31Z","updated_at":"2015-07-10T19:40:31Z","closed_at":null,"body":"    region = 'MyRegion'\r\n    connection_data = {\r\n        'config_file': (None, 'AWS_CONFIG_FILE', None, None),\r\n        'region': ('region', 'BOTO_DEFAULT_REGION', region, None),\r\n    }\r\n    session = botocore.session.get_session(connection_data)\r\n    config = botocore.client.Config(signature_version='s3')\r\n    client = session.create_client(\r\n        's3', region_name=region, endpoint_url='http://my_url:1234',\r\n        aws_access_key_id='MyAccessKey', aws_secret_access_key='MySecret',\r\n        config=config)\r\n    client.get_object(Bucket='MyBucket', Key='MyKey')\r\n\r\nI need to use 's3' signature version because my server doesn't support 's3v4' auth protocol.\r\nSo when I call get_object I get in logs - 'Starting new HTTP connection (1): bucket-944102956.s3.amazonaws.com'\r\nSo this request goes to amazon server - this is a bug."},"comment":{"url":"https://api.github.com/repos/boto/botocore/issues/comments/120504429","html_url":"https://github.com/boto/botocore/issues/601#issuecomment-120504429","issue_url":"https://api.github.com/repos/boto/botocore/issues/601","id":120504429,"user":{"login":"mtdowling","id":190930,"avatar_url":"https://avatars.githubusercontent.com/u/190930?v=3","gravatar_id":"","url":"https://api.github.com/users/mtdowling","html_url":"https://github.com/mtdowling","followers_url":"https://api.github.com/users/mtdowling/followers","following_url":"https://api.github.com/users/mtdowling/following{/other_user}","gists_url":"https://api.github.com/users/mtdowling/gists{/gist_id}","starred_url":"https://api.github.com/users/mtdowling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtdowling/subscriptions","organizations_url":"https://api.github.com/users/mtdowling/orgs","repos_url":"https://api.github.com/users/mtdowling/repos","events_url":"https://api.github.com/users/mtdowling/events{/privacy}","received_events_url":"https://api.github.com/users/mtdowling/received_events","type":"User","site_admin":false},"created_at":"2015-07-10T19:40:31Z","updated_at":"2015-07-10T19:40:31Z","body":"I think we need to add the ability to disable the bucket hostname overrides with a custom parameter. This sort of behavior is present in other AWS SDKs, for example: https://github.com/aws/aws-sdk-php/blob/master/src/S3/S3Client.php#L33. Marking as a feature request."}}