All Questions
Tagged with pre-signed-url java
33 questions
0
votes
0
answers
38
views
How can you use GCP signed urls with Private Service Connect
I am using GCP signed urls to allow clients to download files from google cloud storage.
We have a Private Service Connect open for our customers, allowing them to consume our platform over the GCP ...
1
vote
0
answers
939
views
AWS S3 Pre-Signed URL "the provided token has expired" error
I set the pre-signed url's expiration to 36 hours (sts max time), but I get the error "the provided token has expired".
The credentials are being supplied with the ec2 instance profile and ...
0
votes
1
answer
733
views
How to generate a GCS pre-signed URL without exposing the service account in the URL in Java?
We don't want to expose our users to internal information like the service account name used to sign the URL. The documentation hints that using a simple service account ID is possible (https://cloud....
0
votes
1
answer
844
views
Amazon S3 signed urls accessible from outside world
So we have a use case where we need to be able to download the S3 files from the outside world on the internet. For this we are creating s3 pre signed url as below. My doubt is how can we access this ...
2
votes
0
answers
2k
views
S3 pre-signed url is opening the file in browser instead of downloading it
I'm uploading a txt file to an S3 folder and generating a pre-signed URL to be accessed later.
Code to upload the file:
try{
context.getLogger().log("Uploading a new object to S3 from ...
0
votes
0
answers
457
views
AWS Get Pre-Sign URL always show ExpiredToken when download file
I have working Java code to get pre-sign URL for uploading files to s3:
String objectKey = "folder/fileName.pdf";
Date expiration = new Date();
long expTimeMillis = expiration....
0
votes
1
answer
699
views
How to generate and preview a presigned url of a file in jsf?
I am trying to preview any type of file such as image,pdf,doc,odt,xlsx,csv,text etc in my web app using jsf.
My flow of code:
Generating a presigned url using aws s3 bucket, java sdk.
Then passing ...
1
vote
1
answer
682
views
Getting invalid argument error while using s3 presigned url for downloading?
generated presigned url for preview which is working. For downloading I had override the response header i.e., content-type to "application/octet-stream" and content-disposition.But getting ...
2
votes
2
answers
4k
views
How to download files(e.g png, jpeg,pdf,msg) using Amazon S3 presigned url in java?
I have generated presigned url using which preview is coming of that file but I want to download that file which I'm not able to do it. Is there any way by which we can get presigned download url ...
3
votes
1
answer
189
views
App crash on firestick 2nd gen when getting presigned URL
Gradle
implementation platform('software.amazon.awssdk:bom:2.17.119')
implementation 'software.amazon.awssdk:s3'
Code Used To get Presigned Url
public static URL getPresignedUrl(String bucketName, ...
0
votes
1
answer
193
views
Unable to use GCP signed URL with Azure Cognitive Speech to text
I have uploaded an audio file on GCS bucket and then I created a signed URL for the file using this method:
storage.signUrl(
blobInfo,
DURATION,
...
2
votes
1
answer
1k
views
Metadata, content-length for GCS objects
Two things:
I am trying to set custom metadata on a GCS object signed URL.
I am trying to set a maximum file size on a GCS object signed URL.
Using the following code:
Map<String, String> ...
2
votes
1
answer
2k
views
How do I upload using AWS S3 PRESIGNED URL as HTML?
Currently, S3 PRESIGNED URL is being obtained through SPRING BOOT.
I want to upload an image from FRONT by passing the URL in HTML.
However, the CODE you have written now receives ...
0
votes
0
answers
484
views
How to fix aws s3 persinged upload SignatureDoesNotMatch?
I want to take the presigned url of aws s3 and PUT the image.
However, after receiving a presigned url, an error appears when requesting a file PUT with the url.
Please tell me how to fix it. T_T
get ...
0
votes
1
answer
2k
views
Generate gcs signed URL to upload large files
I have been trying to upload large files by generating a signed URL. Here is the documentation I was following to generate the signed URL: https://cloud.google.com/storage/docs/access-control/signing-...