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

Why AWS does not trust to pre-signed URLs generated by its own SDK

I'm composing pre-signed URL for downloading objects from AWS S3. I use generatePresignedUrl method from AWS Java SDK. However, I get SignatureDoesNotMatch from AWS when making GET request using the generated pre-signed URL. I'm confused cause I use…
zaaath
  • 737
  • 9
  • 17
0
votes
1 answer

How to set custom endpoints in amazon ios sdk for presigning urls?

I am trying to get presigned url for these music files from amazon server , I have working code of android but couldn't find a way in Objective-C to do this. public static String getPreSignedURL(String url) { java.util.Date expiration = new…
va05
  • 327
  • 1
  • 15
0
votes
1 answer

Does Amazons3 with authorized user IAM role still need presigned url to load image from bucket

I am working on an Android app that has the AWS SDK in it. The users are already authorized through Cognito. I also created the IAM roles which should give me DynamoDB and s3. At present the authorization and DynamoDB are working. When I query the…
0
votes
1 answer

C# AWS SDK Pre-signed download url is always expired

I'm having a problem with my Presigned downloand URL using (var S3Client = new AmazonS3Client(AppSettings.AwsAccessKey, AppSettings.AwsSecretKey, Amazon.RegionEndpoint.USEast1)) { GetPreSignedUrlRequest request = new…
Michael Samteladze
  • 1,310
  • 15
  • 38
0
votes
0 answers

Could the Signed URL mechanism be used for bucket listing or index listing

I am trying to do bucket listing on s3 bucket via cloudfront. Namely: http://d1po79dcz1lvsl.cloudfront.net/?prefix=subdir&Signature=‘Signature_removed’&Policy=‘policy_removed’&Key-Pair-Id=‘id-removed’ But CF has been given me Access denied all the…
0
votes
1 answer

Pre signed url PUT does a GET request in the background?

uploading a image/jpeg to s3 bucket with PUT works fine, but just before the put the javascript throws an error saying it tried to do a GET using that signed key anT request in the first place. When i check the network in the browser it shows an…
2.6.32
  • 25
  • 1
  • 5
0
votes
1 answer

Unable to access the file from the object URL

I am unable to access the file, that I am trying to access through pre-signed URL. $cmd = $s3Client->getCommand('GetObject', [ 'Bucket' => 'test-bucket-pcloud', 'Key' => 'testfile.txt' ]); $request =…
Suhail Gupta
  • 22,386
  • 64
  • 200
  • 328
0
votes
1 answer

Request signed URL from GCS via JSON api / API Client Library for PHP

I am using the API Client Library for PHP in a Laravel (as an api) / AngularJS project that does NOT run on google app engine. I would like to be able to access non public images on a google cloud storage (gcs) bucket via pre signed URL- I have not…
tromtv
  • 91
  • 1
  • 9
0
votes
1 answer

S3 Presigned Upload URL to support multiple regions?

currently my app can upload images to a bucket in APSE1(singapore) and my app is mostly used in south east asia, so everything is pretty fast. I am wondering how can I support multiple regions? Let's say I want to also get people in the US to use my…
0
votes
2 answers

Rails Amazon S3 direct upload with JQuery File Uploader

I have spent days now trying to make this work. I am getting this error OPTIONS https://bucketname.s3.oregon.amazonaws.com/ net::ERR_NAME_RESOLUTION_FAILED I am using Version 43.0.2357.130 Ubuntu 14.04 (64-bit) Gemfile: gem…
0
votes
2 answers

Call to undefined method createPresignedUrl() using AWS SDK for PHP

I could not create Presigned Url using AWS SDK for PHP. My code is - function connect() { // Instantiate the S3 class and point it at the desired host date_default_timezone_set('GMT'); return S3Client::factory(array( 'region' …
Ihor Bovkit
  • 120
  • 3
  • 9
0
votes
1 answer

How do I get Amazon Signature 4 presigned URL to work with Ajax?

I can generate a working presigned URL to list part of an S3 bucket's contents. It works fine if I paste it in the browser or use hurl.it However, in a jQuery Ajax GET call it fails on the signature. I viewed the request in fiddler and it does…
Krafty
  • 602
  • 5
  • 24
0
votes
2 answers

Why does PUT not work as advertised with AWS PHP on S3

I've tried a number of different methods following examples from this website and other sources but I am hitting a brick wall. After failing to get this working after over a month of daily trying different things I have narrowed it down to the…
0
votes
1 answer

Creating signed URL with PHP for POST form upload to Google Cloud Storage

I've been trying to perform file uploads to GCE via POST with an HTML form although so far I keep on getting the following error message: The request signature we calculated does not match the signature you provided. Check your Google secret key and…
hartfordfive
  • 1,275
  • 2
  • 11
  • 18
-1
votes
1 answer

Uploading File to s3 presigned URL halt in pending state

I have a scenario in flutter where I have to make an upload to s3 given the pre signed URL by server. Once I tried to make the request to presigned URL the call doesn't get resolved and it remains in pending state for ever no issue nothing. Making…