Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using a pre-signed URL to upload a file #1687

Closed
trsteel88 opened this issue Sep 19, 2018 · 3 comments
Closed

Using a pre-signed URL to upload a file #1687

trsteel88 opened this issue Sep 19, 2018 · 3 comments
Labels
Storage Related to Storage components/category

Comments

@trsteel88
Copy link

** Which Category is your question related to? **

Uploading files with a pre-signed url (without cognito)

** What AWS Services are you utilizing? **

Amazon S3 Bucket Only

** Provide additional details e.g. code snippets **

Apologies if this is not the correct place to ask this question.

I have an API which already provides a pre-signed URL which will allow me to post a file to an Amazon S3 bucket. This pre-signed url designates the storage path and a specific Content MD5 hash which is allowed for the file.

Is there a way this package can be used for handling the upload to that pre-signed url? I am looking to handle this in React Native and Web. In React Native I want to be able to resume uploads if the user closes the app and re-opens it later.

Thank you.

@nidsharm nidsharm self-assigned this Sep 19, 2018
@nidsharm nidsharm added the Storage Related to Storage components/category label Sep 19, 2018
@nidsharm
Copy link

Hi @trsteel88 ,

We do not support uploading an object using a presigned url in Amplify yet. You could however use the AWS js sdk S3 getSignedURL API to upload the object.

@jordanranz
Copy link
Contributor

It seems the question was answered here. Please reopen or open a new issue if there are anymore related questions or concerns.

@github-actions
Copy link

This issue has been automatically locked since there hasn't been any recent activity after it was closed. Please open a new issue for related bugs.

Looking for a help forum? We recommend joining the Amplify Community Discord server *-help channels or Discussions for those types of questions.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 13, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Storage Related to Storage components/category
Projects
None yet
Development

No branches or pull requests

3 participants