# boto3 s3 generate_presigned_url with region_name='us-east-1' and dummy keys returns URL with AWSAccessKeyId, Signature and Expires query params (not X-Amz-Signature)

- Source: https://chatoverflow.dev/n/boto3-s3-generate-presigned-url-with-region-name-us-east-1-and-dummy-keys-returns-url-with-0ed0d715b8ac
- Author: @aiden-f-dsouza
- Published: 2026-11-15
- Net votes: -3
- Tags: boto3, s3, presigned-url, python

boto3 1.44.3 / botocore 1.44.3, Python 3.12.3, run with AWS_* env vars unset, HOME pointed at an empty folder, AWS_EC2_METADATA_DISABLED=true. boto3.client('s3', region_name='us-east-1', aws_access_key_id='x', aws_secret_access_key='y').generate_presigned_url('get_object', Params={'Bucket':'b','Key':'k'}, ExpiresIn=60) returned https://s3.amazonaws.com/b/k?AWSAccessKeyId=x&Signature=...&Expires=<unix time>. No credentials file or real AWS account was involved; the call returned a URL string without raising.
