Questions tagged [signed-url]

52 questions
4
votes
0 answers

Cannot upload object to Google Cloud Storage using signed url and HTTP PUT

I'm trying to upload an object to the Google cloud storage, using a signed url. I'm generating the url, using a JAVA method, as follows (with the help of this link): public String generatePutObjectSignedUrl(String bucketName, String objectName,…
Roshan Upreti
  • 1,782
  • 3
  • 21
  • 34
3
votes
1 answer

How do I use Signed URLs to upload to Google Storage bucket in Python?

I am able to create signed URLs and just need to know what to do with them after they are created. There are several examples using Javascript to upload via a signed URL, but I cannot find any in Python. I am trying to use signed URLs as a…
2
votes
0 answers

Is it possible to generate one signed URL for a folder and upload multiple files into it?

Is it possible to use GCS signed url like "{gcs_domain}/anybucket/folder1/?{gcs_headers}" to upload multiple times different fils (with one or more requests, it doesn't matter)? and finally it gives : -folder1 --file1.txt --file2.txt ... Or the…
Xin Wang
  • 21
  • 1
2
votes
1 answer

How do I generate a pre-signed URL in Google Cloud Function that links to a specific bucket GCS?

How do I add the private key file generated with service account to the cloud function to authenticate ? The following code returns an auth credential error, it says I need a private key to sign credentials. How do I create this and pass in the…
2
votes
0 answers

Uploading a file to GCP using signed-url, to a domain-named bucket is giving SSL certificate error

I'm trying to upload a file to a GCP bucket using signed-url. I was able to do this well in a normal bucket. But recently I changed my bucket to a domain-named bucekt(Eg: abc.somename.io) Now when I'm trying to upload a file to this new bucket,…
ezvine
  • 751
  • 1
  • 8
  • 23
1
vote
1 answer

File uploading to GCS using Signed URL from Nextjs - error code 403

The purpose is - -> to generate signed url in api/fileupload.js file to upload the file to GCS. -> Obtain the signed url from Nextjs server via nextjs API - localhost://3000/api/fileupload -> Uploading file to gcs using the generated signed url in…
1
vote
0 answers

I Always Got Cors Error When Send DELETE request to gcs Resumable Singed Url

I've tried to use "resumable signed url" when uploading a file. This is the CORS config on the bucket: [{“maxAgeSeconds”: 3600, “method”: [“GET”, “PATCH”, “DELETE”, “OPTIONS”, “POST”, “PUT”], “origin”: [“*”], “responseHeader”: [“*”]}] BE const…
jiyoung
  • 11
  • 1
1
vote
0 answers

Creating SignedURL for uploading multiple files

For now I'm able to create signed url for uploading file to gcp storage. Is it possible to create one signed url for many files? Below is Golang implementation for single file: opts := &storage.SignedURLOptions{ GoogleAccessID: googleCfg.Email, …
1
vote
6 answers

Laravel 9 email verification Invalid Signature

I've read all available solutions, but no chance. It always redirects to the 403 page with message (Invalid Signature). Here is my route : Auth::routes(['verify' => true]); My env file…
Hooman Limouee
  • 1,143
  • 2
  • 21
  • 43
1
vote
0 answers

Signed URL for video upload causing problem in GCP

I am working on a project in which I need to upload the video files to GCS bucket using V4 Signed URL. Currently I am generating the signed url using Python script which is a part of Flask API. Here is the method signature I am using to generate…
1
vote
0 answers

Google Cloud Services, Anonymous caller does not have storage.objects.get access to the Google Cloud Storage object, private URL access denied

I am using Google cloud storage to store images in a private folder, and I would like to display them in my website. I followed this documentation of Signed_URL in my own program to achieve my goals. After few tests, I can't display anything else…
Kirinyo
  • 31
  • 3
1
vote
0 answers

Access denied when access cloudfront signed url with custom policy

I am trying to control access to my files in s3 using cloudfront distribution with limited viewer access using signed URLs, I generate the signed url with custom policy to control the access using source ip, everything works without including the…
1
vote
1 answer

NodeJS - CORS issue with Google Cloud Storage Signed URLs

I want to enable artist clients to upload images to Cloud Storage using Signed URLs. The following backend script is used to get the signed url and it is behind a Google Cloud load balancer: (Does that (load balancer) affect…
1
vote
1 answer

Upload file with AWS S3 signed url always setting content-type binary/octet-stream

I am facing a problem where the content-type always changes during the upload process. I am using lambda and nodejs to generate a URL. Here is my code. I would be grateful for any help!
1
vote
0 answers

Google Cloud signed URL with PHP

My needs are simple... One would think. I'm just trying to create a signed URL with a PHP script to prevent download abuse of a file hosted on Google Cloud Storage. I've found several examples, none that worked. This one came the…
bob williams
  • 73
  • 1
  • 8
1
2 3 4