Questions tagged [pre-signed-url]

URL signing grants temporary access to the caller to perform privileged actions. For example generating signed URL to upload files on a private S3 bucket.

URL signing grants temporary access to the caller to perform privileged actions.

AWS S3

https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-signed-urls.html

575 questions
0
votes
1 answer

S3 Pre-signed URL with custom endpoint via API Gateway, MethodNotAllowed

I'm attempting to use a pre-signed url for an S3 bucket with a custom endpoint. I seem so close, but I keep getting a Method Not Allowed error. Here's where I'm at. I have an API Gateway which connects an endpoint to a Lambda function. That…
Chris
  • 4,762
  • 3
  • 44
  • 79
0
votes
1 answer

Google Cloud Storage Signed URL PUT Content-MD5

I'm trying to create GCS signed URLs: https://cloud.google.com/storage/docs/access-control/create-signed-urls-program#signing-language I want to have my clients upload directly to GCS. However, I'm running into the classic SignatureDoesNotMatch…
crunk1
  • 2,560
  • 1
  • 26
  • 32
0
votes
0 answers

boto3 and Go aws SDK generate presigned URL in different way?

I encounter a SignNotMatch when I generate a presigned url with boto3 with the code below: session = Session(access_key, secret_key) s3 = session.client('s3', endpoint_url=OSS_ENDPOINT, config=Config(signature_version='s3v4')) url =…
0
votes
0 answers

How to access pre-signed urls for AWS Cloudwatch Logs generated with boto3.client?

I am wondering if it is possible to use pre-signed urls with other aws services other than s3. Specifically, the boto3 documentation http://boto3.readthedocs.io/en/latest/reference/services/logs.html#CloudWatchLogs.Client.generate_presigned_url…
0
votes
2 answers

AWS S3 Presign Url always expiring at the same time?

I generate a pre sign url to access objects in S3. This url is set to expire after 1 hour. It has been working fine for months, but has all of a sudden stopped working. For every url I create, the expiry for that request is always the same time,…
user1974753
  • 1,359
  • 1
  • 18
  • 32
0
votes
1 answer

AWS S3 with Presigned URL

I am using aws for my project. I have a presigned image url.I need to get the presigned image into my s3 bucket. How can I do this in aws using JAVA. I have a url =…
ShaiNe Ram
  • 395
  • 2
  • 6
  • 19
0
votes
1 answer

python requests: URL without encoding

I understood that the requests library internally encodes the URL similar to urllib.parse.quote(). Earlier this used to be configurable in the request with config={'encode_uri': False} but this configuration has been discontinued. I need to put to…
0
votes
1 answer

SignatureDoesNotMatch Ruby on Rails Google Storage Signed URL

I have made a connection with Google Storage using gem 'google-cloud-storage'. Repo for that is https://github.com/GoogleCloudPlatform/google-cloud-ruby/tree/master/google-cloud-storage. The example of the signed_url method I couldn't manage to find…
0
votes
0 answers

Put image to s3 bucket using signed URL

I’ve tried using signed URL from s3 and send base64encoded image But in my s3 bucket, I am only seeing a file called mykey. SignedUrl came back successful. Any suggestion on what I am doing wrong? const file =…
Evan
  • 507
  • 2
  • 7
  • 21
0
votes
1 answer

Error "SignatureDoesNotMatch". Google Cloud Storage Bucket PUT

I'm loosing my mind. I'm using Shrine (https://github.com/janko-m/shrine) with Google Cloud Storage (https://github.com/renchap/shrine-google_cloud_storage), but when I start the PUT call I get…
user4412054
0
votes
1 answer

boto3 python generate pre signed url for a whole bucket

I am trying to give temporary download access to a bucket in my s3. using boto3.generate_presigned_url(), I have only managed to download a specific file from that bucket but not the bucket itself. is there any option to do so or my only option is…
BoooYaKa
  • 2,051
  • 2
  • 16
  • 17
0
votes
1 answer

How to get presigned URL for CloudFront Media content

I want to get presigned URL for my CloudFront media content files. I have code in c# for S3 Presigned URL but that doesnt work for ColudFront Please help me in this regards. I have C# code for the cloudFront, but not able to figure out how to…
Hemlata N
  • 21
  • 1
0
votes
1 answer

presigned_url + s3 + rails + react AccessDenied

When I try to get a signed url through upload for image upload / jpg always give me error, help plz def call credentials = Aws::Credentials.new(secrets_key, access_key) resource = Aws::S3::Resource::new(region: 'sa-east-1', credentials:…
0
votes
1 answer

Error when using presigned url to download from S3

I'm successfully generating presigned GetObject URLs. The generated URL is then pasted onto the browser to download the requested item. So far, I am able to retrieve objects from Virginia and Singapore. But with Ohio, I'm getting the following…
ngzhongcai
  • 1,793
  • 3
  • 23
  • 31
0
votes
1 answer

Should I be getting a Cloudfront ‘MissingKey’ error when using an unsigned URL to access a public-read S3 object?

Let's say I'm building a Dropbox clone: Filebox. I'm storing all my user's files with S3 and I'm using Cloudfront as my CDN. So I've got a restricted S3 bucket (files.filebox.com) with a bucket policy that allows s3:GetObject to only the Origin…
AJB
  • 7,389
  • 14
  • 57
  • 88