This project contains a demo to upload and download a file using S3 presigned urls (generated with AWS Java SDK 2.x).
- Java 11
- Apache Maven (optional)
If you have Maven installed
mvn test -Dbucket=YOUR_BUCKET
If you do not have Maven installed
./mvnw test -Dbucket=YOUR_BUCKET
- You need to be authorized to read/write in
YOUR_BUCKET
(see docs). - File will be uploaded to
s3://YOUR_BUCKET/tmp/test.jpg