Это видео недоступно.
Сожалеем об этом.
How to upload files to AWS S3 with FastAPI ?
HTML-код
- Опубликовано: 29 ноя 2022
- #fastapi #python #aws #awss3 #s3 #webdevelopment #fileupload
Hello guys!!
This is a demo on how you can use FastAPI to upload files to your AWS S3 bucket.
I have covered very basic file checks and strongly recommend you to do some research on file-upload exploits to build a more secure API.
Happy coding!!
Source code: github.com/jrdeveloper124/file-transfer/blob/main/main.py
good explanation, interesting choice of subject
great video, this include all the basics i need, cheers mate
I'm glad that it helped you 👍🏻
thank you man amazing video keep it up! new sub
Thank you so much for the video, exactly what I needed.. How and where do we provide authentication details?
For JWT based authentication you can follow these nice tutorials in their documentation
1. Generate tokens - fastapi.tiangolo.com/tutorial/security/first-steps/
2. Get user details - fastapi.tiangolo.com/tutorial/security/get-current-user/
can i ask what extension you use in vs code that can warn like "s3_upload" not defined like min 8:24
It's called Error Lens. VS Code extension id: usernamehw.errorlens
Hello thank you for the video, can you explain how you set up your bucket first ?
Creating an S3 bucket is quite simple just head over to the s3 console: s3.console.aws.amazon.com and click on the create button. If you still need more details checkout their guide here: docs.aws.amazon.com/AmazonS3/latest/userguide/creating-bucket.html
I realized that I didn't cover this after I have uploaded the video. So, I gave a brief on how to configure the credentials to access AWS in the next video: ruclips.net/video/mNwO_z6faAw/видео.html . Please, check that out if you haven't already.
I'm planning to make another video which includes JWT authorization while downloading/uploading files. I'll make sure that I cover the basics in that.
I hope this helps. Thank you for the comment.
@@jr.developer Thank you for the videos
Thanks
Please upload more video on aws
Is this working in aws lambda function?
No. This wouldn't work on AWS lambda.
Great Video,
but video starts at 10:00
/-> nfactorial incubator 2023
source code?
Sorry for the delay. Checkout the pinned comment. Thanks.