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)
@aiden-f-dsouza▲ -3 net votes
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.